1 #
   2 # CDDL HEADER START
   3 #
   4 # The contents of this file are subject to the terms of the
   5 # Common Development and Distribution License (the "License").
   6 # You may not use this file except in compliance with the License.
   7 #
   8 # You can obtain a copy of the license at src/OPENSOLARIS.LICENSE
   9 # or http://www.opensolaris.org/os/licensing.
  10 # See the License for the specific language governing permissions
  11 # and limitations under the License.
  12 #
  13 # When distributing Covered Code, include this CDDL HEADER in each
  14 # file and include the License file at src/OPENSOLARIS.LICENSE.
  15 # If applicable, add the following below this CDDL HEADER, with the
  16 # fields enclosed by brackets "[]" replaced with your own identifying
  17 # information: Portions Copyright [yyyy] [name of copyright owner]
  18 #
  19 # CDDL HEADER END
  20 #
  21 #
  22 # Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
  23 # Use is subject to license terms.
  24 #
  25 # Copyright (c) 2018, Joyent, Inc.
  26 
  27 LDFLAGS =       $(DYNFLAGS) $(LDLIBS)
  28 
  29 # needs work
  30 SMATCH=off
  31 
  32 COMMON = ../common/
  33 
  34 ICONV_COMMON  = ../../common/
  35 
  36 SRCS            =       UTF-8%zh_CN.iso2022-7.c \
  37                         UTF-8%zh_CN.euc.c \
  38                         UTF-8%zh_CN.gbk.c \
  39                         UTF-8%zh_CN.iso2022-CN.c \
  40                         zh_CN.euc%UTF-8.c \
  41                         zh_CN.euc%zh_CN.iso2022-CN.c \
  42                         zh_CN.euc%zh_TW-big5.c \
  43                         zh_CN.gbk%UTF-8.c \
  44                         zh_CN.iso2022-7%UTF-8.c \
  45                         zh_CN.iso2022-CN%zh_CN.euc.c \
  46                         zh_CN.iso2022-CN%UTF-8.c \
  47                         HZ-GB-2312%UTF-8.c \
  48                         HZ-GB-2312%zh_CN.euc.c \
  49                         UTF-8%HZ-GB-2312.c \
  50                         zh_CN.euc%HZ-GB-2312.c \
  51                         zh_CN.gbk%HZ-GB-2312.c \
  52                         zh_TW-big5%zh_CN.euc.c \
  53                         UTF-8%zh_CN-cp935.c \
  54                         zh_CN-cp935%UTF-8.c \
  55                         zh_CN.gbk%zh_CN.iso2022-CN.c \
  56                         zh_CN.gbk%zh_TW-big5.c \
  57                         zh_CN.gbk%zh_TW-big5p.c \
  58                         zh_CN.iso2022-CN%zh_CN.gbk.c \
  59                         zh_TW-big5%zh_CN.gbk.c \
  60                         zh_TW-big5p%zh_CN.gbk.c \
  61                         zh_HK.hkscs%zh_CN.gbk.c \
  62                         zh_CN.gbk%zh_HK.hkscs.c \
  63                         zh_TW-euc%UTF-8.c \
  64                         UTF-8%zh_TW-euc.c \
  65                         zh_TW-iso2022-7%UTF-8.c \
  66                         UTF-8%zh_TW-iso2022-7.c \
  67                         zh_TW-big5%UTF-8.c \
  68                         zh_HK.hkscs%UTF-8.c \
  69                         UTF-8%zh_HK.hkscs.c \
  70                         zh_HK.hkscs%zh_TW-big5p.c \
  71                         zh_TW-big5p%zh_HK.hkscs.c \
  72                         UTF-8%zh_TW-big5.c \
  73                         zh_TW-big5p%UTF-8.c \
  74                         UTF-8%zh_TW-big5p.c \
  75                         UTF-8%zh_TW-cp937.c zh_TW-cp937%UTF-8.c \
  76                         zh_TW-euc%zh_TW-big5.c \
  77                         zh_TW-euc%zh_TW-iso2022-7.c \
  78                         zh_TW-euc%zh_TW-iso2022-CN-EXT.c \
  79                         zh_TW-big5%zh_TW-euc.c \
  80                         zh_TW-big5%zh_TW-iso2022-7.c \
  81                         zh_TW-iso2022-7%zh_TW-euc.c \
  82                         zh_TW-iso2022-CN-EXT%zh_TW-euc.c \
  83                         zh_TW-iso2022-7%zh_TW-big5.c \
  84                         zh_TW-big5%zh_TW-iso2022-CN-EXT.c \
  85                         zh_TW-iso2022-CN-EXT%zh_TW-big5.c
  86 
  87 dummy: all
  88 
  89 gb2312%UCS-2LE.o: $(COMMON)zh_CN.euc%UTF-8.c
  90         $(CC) $(CFLAGS) -DUCS_2LE -c -o $@ $^
  91         $(POST_PROCESS_O)
  92 
  93 GBK%UCS-2LE.o: $(COMMON)zh_CN.gbk%UTF-8.c
  94         $(CC) $(CFLAGS) -DUCS_2LE -c -o $@ $^
  95         $(POST_PROCESS_O)
  96 
  97 GBK%UCS-2BE.o: $(COMMON)zh_CN.gbk%UTF-8.c
  98         $(CC) $(CFLAGS) -DUCS_2BE -c -o $@ $^
  99         $(POST_PROCESS_O)
 100 
 101 GBK%UCS-4LE.o: $(COMMON)zh_CN.gbk%UTF-8.c
 102         $(CC) $(CFLAGS) -DUCS_4LE -c -o $@ $^
 103         $(POST_PROCESS_O)
 104 
 105 GBK%UCS-4BE.o: $(COMMON)zh_CN.gbk%UTF-8.c
 106         $(CC) $(CFLAGS) -DUCS_4BE -c -o $@ $^
 107         $(POST_PROCESS_O)
 108 
 109 UCS-2LE%gb2312.o: $(COMMON)UTF-8%zh_CN.euc.c
 110         $(CC) $(CFLAGS) -DUCS_2LE -c -o $@ $^
 111         $(POST_PROCESS_O)
 112 
 113 UCS-2LE%GBK.o: $(COMMON)UTF-8%zh_CN.gbk.c
 114         $(CC) $(CFLAGS) -DUCS_2LE -c -o $@ $^
 115         $(POST_PROCESS_O)
 116 
 117 UCS-2BE%GBK.o: $(COMMON)UTF-8%zh_CN.gbk.c
 118         $(CC) $(CFLAGS) -DUCS_2BE -c -o $@ $^
 119         $(POST_PROCESS_O)
 120 
 121 UCS-4LE%GBK.o: $(COMMON)UTF-8%zh_CN.gbk.c
 122         $(CC) $(CFLAGS) -DUCS_4LE -c -o $@ $^
 123         $(POST_PROCESS_O)
 124 
 125 UCS-4BE%GBK.o: $(COMMON)UTF-8%zh_CN.gbk.c
 126         $(CC) $(CFLAGS) -DUCS_4BE -c -o $@ $^
 127         $(POST_PROCESS_O)
 128 
 129 cns11643%UCS-2LE.o: $(COMMON)zh_TW-euc%UTF-8.c
 130         $(CC) $(CFLAGS) -DUCS_2LE -c -o $@ $^
 131         $(POST_PROCESS_O)
 132 
 133 BIG5%UCS-2LE.o: $(COMMON)zh_TW-big5%UTF-8.c
 134         $(CC) $(CFLAGS) -DUCS_2LE -c -o $@ $^
 135         $(POST_PROCESS_O)
 136 
 137 Big5-HKSCS%UCS-2LE.o: $(COMMON)zh_HK.hkscs%UTF-8.c
 138         $(CC) $(CFLAGS) -DUCS_2LE -c -o $@ $^
 139         $(POST_PROCESS_O)
 140 
 141 UCS-2LE%cns11643.o: $(COMMON)UTF-8%zh_TW-euc.c
 142         $(CC) $(CFLAGS) -DUCS_2LE -c -o $@ $^
 143         $(POST_PROCESS_O)
 144 
 145 UCS-2LE%BIG5.o: $(COMMON)UTF-8%zh_TW-big5.c
 146         $(CC) $(CFLAGS) -DUCS_2LE -c -o $@ $^
 147         $(POST_PROCESS_O)
 148 
 149 UCS-2LE%Big5-HKSCS.o: $(COMMON)UTF-8%zh_HK.hkscs.c
 150         $(CC) $(CFLAGS) -DUCS_2LE -c -o $@ $^
 151         $(POST_PROCESS_O)
 152 
 153 common_utf8.o: $(ICONV_COMMON)/common_utf8.c
 154         $(CC) $(CFLAGS) -c -o $@ $(ICONV_COMMON)/common_utf8.c
 155         $(POST_PROCESS_O)
 156 
 157 UCS-2LE%cns11643.so: UCS-2LE%cns11643.o common_utf8.o
 158         $(CC) $(CFLAGS) $(LDFLAGS) -o $@ UCS-2LE%cns11643.o common_utf8.o
 159         $(POST_PROCESS_SO)
 160 
 161 UCS-2LE%BIG5.so: UCS-2LE%BIG5.o common_utf8.o
 162         $(CC) $(CFLAGS) $(LDFLAGS) -o $@ UCS-2LE%BIG5.o common_utf8.o
 163         $(POST_PROCESS_SO)
 164 
 165 UCS-2LE%Big5-HKSCS.so: UCS-2LE%Big5-HKSCS.o common_utf8.o
 166         $(CC) $(CFLAGS) $(LDFLAGS) -o $@ UCS-2LE%Big5-HKSCS.o common_utf8.o
 167         $(POST_PROCESS_SO)
 168 
 169 UTF-8%zh_TW-euc.so: UTF-8%zh_TW-euc.o common_utf8.o
 170         $(CC) $(CFLAGS) $(LDFLAGS) -o $@ UTF-8%zh_TW-euc.o common_utf8.o
 171         $(POST_PROCESS_SO)
 172 
 173 UTF-8%zh_TW-big5.so: UTF-8%zh_TW-big5.o common_utf8.o
 174         $(CC) $(CFLAGS) $(LDFLAGS) -o $@ UTF-8%zh_TW-big5.o common_utf8.o
 175         $(POST_PROCESS_SO)
 176 
 177 UTF-8%zh_HK.hkscs.so: UTF-8%zh_HK.hkscs.o common_utf8.o
 178         $(CC) $(CFLAGS) $(LDFLAGS) -o $@ UTF-8%zh_HK.hkscs.o common_utf8.o
 179         $(POST_PROCESS_SO)
 180 
 181 zh_TW-iso2022-CN-EXT.o: $(COMMON)/zh_TW-iso2022-CN-EXT.c
 182         $(CC) $(CFLAGS) -c -o $@ $^
 183         $(POST_PROCESS_O)
 184 
 185 zh_TW-iso2022-CN-EXT%zh_TW-big5.so: zh_TW-iso2022-CN-EXT%zh_TW-big5.o zh_TW-iso2022-CN-EXT.o
 186         $(CC) $(CFLAGS) $(LDFLAGS) -o $@ zh_TW-iso2022-CN-EXT%zh_TW-big5.o zh_TW-iso2022-CN-EXT.o
 187         $(POST_PROCESS_SO)
 188 
 189 zh_TW-iso2022-CN-EXT%zh_TW-euc.so: zh_TW-iso2022-CN-EXT%zh_TW-euc.o zh_TW-iso2022-CN-EXT.o
 190         $(CC) $(CFLAGS) $(LDFLAGS) -o $@ zh_TW-iso2022-CN-EXT%zh_TW-euc.o zh_TW-iso2022-CN-EXT.o
 191         $(POST_PROCESS_SO)
 192 
 193 utf8%ibm.o: $(ICONV_COMMON)/utf8%ibm.c
 194         $(CC) $(CFLAGS) -c -o $@ $(ICONV_COMMON)/utf8%ibm.c
 195         $(POST_PROCESS_O)
 196 
 197 tab_lookup.o: $(ICONV_COMMON)/tab_lookup.c
 198         $(CC) $(CFLAGS) -c -o $@ $(ICONV_COMMON)/tab_lookup.c
 199         $(POST_PROCESS_O)
 200 
 201 zh_TW-cp937%UTF-8.so: zh_TW-cp937%UTF-8.o utf8%ibm.o tab_lookup.o
 202         $(CC) $(CFLAGS) $(LDFLAGS) -o $@ zh_TW-cp937%UTF-8.o utf8%ibm.o tab_lookup.o
 203         $(POST_PROCESS_SO)
 204 
 205 UTF-8%zh_CN-cp935.so: UTF-8%zh_CN-cp935.o utf8%ibm.o tab_lookup.o
 206         $(CC) $(CFLAGS) $(LDFLAGS) -o $@ UTF-8%zh_CN-cp935.o utf8%ibm.o tab_lookup.o
 207         $(POST_PROCESS_SO)
 208 
 209 zh_CN-cp935%UTF-8.so: zh_CN-cp935%UTF-8.o utf8%ibm.o tab_lookup.o
 210         $(CC) $(CFLAGS) $(LDFLAGS) -o $@ zh_CN-cp935%UTF-8.o utf8%ibm.o tab_lookup.o
 211         $(POST_PROCESS_SO)
 212 
 213 UTF-8%zh_TW-cp937.so: UTF-8%zh_TW-cp937.o utf8%ibm.o tab_lookup.o
 214         $(CC) $(CFLAGS) $(LDFLAGS) -o $@ UTF-8%zh_TW-cp937.o utf8%ibm.o tab_lookup.o
 215         $(POST_PROCESS_SO)
 216 
 217 include $(SRC)/lib/iconv_modules/Makefile.iconv
 218 
 219 ALL_SOS  = Big5-HKSCS%UCS-2LE.so          zh_CN.gbk%zh_CN.iso2022-CN.so
 220 ALL_SOS += BIG5%UCS-2LE.so                zh_CN.gbk%zh_HK.hkscs.so
 221 ALL_SOS += cns11643%UCS-2LE.so            zh_CN.gbk%zh_TW-big5p.so
 222 ALL_SOS += gb2312%UCS-2LE.so              zh_CN.gbk%zh_TW-big5.so
 223 ALL_SOS += GBK%UCS-2LE.so                 zh_CN.iso2022-7%UTF-8.so
 224 ALL_SOS += HZ-GB-2312%UTF-8.so            zh_CN.iso2022-CN%UTF-8.so
 225 ALL_SOS += HZ-GB-2312%zh_CN.euc.so        zh_CN.iso2022-CN%zh_CN.euc.so
 226 ALL_SOS += UCS-2LE%Big5-HKSCS.so          zh_CN.iso2022-CN%zh_CN.gbk.so
 227 ALL_SOS += UCS-2LE%BIG5.so                zh_HK.hkscs%UTF-8.so
 228 ALL_SOS += UCS-2LE%cns11643.so            zh_HK.hkscs%zh_CN.gbk.so
 229 ALL_SOS += UCS-2LE%gb2312.so              zh_HK.hkscs%zh_TW-big5p.so
 230 ALL_SOS += UCS-2LE%GBK.so                 zh_TW-big5p%UTF-8.so
 231 ALL_SOS += UTF-8%HZ-GB-2312.so            zh_TW-big5p%zh_CN.gbk.so
 232 ALL_SOS += zh_TW-big5p%zh_HK.hkscs.so     zh_TW-big5%zh_TW-iso2022-7.so
 233 ALL_SOS += UTF-8%zh_CN.euc.so             zh_TW-big5%UTF-8.so
 234 ALL_SOS += UTF-8%zh_CN.gbk.so             zh_TW-big5%zh_CN.euc.so
 235 ALL_SOS += UTF-8%zh_CN.iso2022-7.so       zh_TW-big5%zh_CN.gbk.so
 236 ALL_SOS += UTF-8%zh_CN.iso2022-CN.so      zh_TW-big5%zh_TW-euc.so
 237 ALL_SOS += UTF-8%zh_TW-big5p.so           zh_TW-big5%zh_TW-iso2022-CN-EXT.so
 238 ALL_SOS += zh_TW-euc%UTF-8.so             zh_TW-euc%zh_TW-iso2022-7.so
 239 ALL_SOS += UTF-8%zh_TW-iso2022-7.so       zh_TW-euc%zh_TW-big5.so
 240 ALL_SOS += zh_CN.euc%HZ-GB-2312.so        zh_TW-euc%zh_TW-iso2022-CN-EXT.so
 241 ALL_SOS += zh_CN.euc%UTF-8.so             zh_TW-iso2022-7%UTF-8.so
 242 ALL_SOS += zh_CN.euc%zh_CN.iso2022-CN.so  zh_TW-iso2022-7%zh_TW-big5.so
 243 ALL_SOS += zh_CN.euc%zh_TW-big5.so        zh_TW-iso2022-7%zh_TW-euc.so
 244 ALL_SOS += zh_CN.gbk%HZ-GB-2312.so        zh_CN.gbk%UTF-8.so
 245 ALL_SOS += zh_TW-cp937%UTF-8.so           UTF-8%zh_TW-cp937.so
 246 ALL_SOS += zh_CN-cp935%UTF-8.so           UTF-8%zh_CN-cp935.so
 247 ALL_SOS += gb2312%UCS-2LE.so              UCS-2LE%gb2312.so
 248 ALL_SOS += cns11643%UCS-2LE.so BIG5%UCS-2LE.so Big5-HKSCS%UCS-2LE.so
 249 ALL_SOS += UCS-2LE%cns11643.so UCS-2LE%BIG5.so UCS-2LE%Big5-HKSCS.so
 250 ALL_SOS += UTF-8%zh_TW-euc.so UTF-8%zh_TW-big5.so UTF-8%zh_HK.hkscs.so
 251 ALL_SOS += zh_TW-iso2022-CN-EXT%zh_TW-euc.so zh_TW-iso2022-CN-EXT%zh_TW-big5.so
 252 ALL_SOS += GBK%UCS-2LE.so GBK%UCS-2BE.so GBK%UCS-4LE.so GBK%UCS-4BE.so
 253 ALL_SOS += UCS-2LE%GBK.so UCS-2BE%GBK.so UCS-4LE%GBK.so UCS-4BE%GBK.so
 254 
 255 LINK_TARGETS  = GBK%UCS-2BE.so GBK%UCS-2LE.so GBK%UCS-4BE.so GBK%UCS-4LE.so
 256 LINK_TARGETS += HZ-GB-2312%zh_CN.euc.so UCS-2BE%GBK.so UCS-2LE%GBK.so UCS-4BE%GBK.so
 257 LINK_TARGETS += UCS-4LE%GBK.so UTF-8%zh_CN.euc.so UTF-8%zh_CN.gbk.so
 258 LINK_TARGETS += UTF-8%zh_CN.iso2022-7.so UTF-8%zh_HK.hkscs.so UTF-8%zh_TW-big5.so
 259 LINK_TARGETS += UTF-8%zh_TW-big5p.so UTF-8%zh_TW-cp937.so UTF-8%zh_TW-euc.so
 260 LINK_TARGETS += UTF-8%zh_TW-iso2022-7.so zh_CN.euc%UTF-8.so
 261 LINK_TARGETS += zh_CN.euc%zh_CN.iso2022-CN.so zh_CN.gbk%UTF-8.so
 262 LINK_TARGETS += zh_CN.gbk%zh_CN.iso2022-CN.so zh_CN.gbk%zh_HK.hkscs.so
 263 LINK_TARGETS += zh_CN.gbk%zh_TW-big5.so zh_CN.gbk%zh_TW-big5p.so
 264 LINK_TARGETS += zh_CN.iso2022-7%UTF-8.so zh_CN.iso2022-CN%zh_CN.euc.so
 265 LINK_TARGETS += zh_HK.hkscs%UTF-8.so zh_HK.hkscs%zh_CN.gbk.so
 266 LINK_TARGETS += zh_HK.hkscs%zh_TW-big5p.so zh_TW-big5%UTF-8.so
 267 LINK_TARGETS += zh_TW-big5%zh_CN.gbk.so zh_TW-big5%zh_TW-euc.so
 268 LINK_TARGETS += zh_TW-big5%zh_TW-iso2022-7.so zh_TW-big5%zh_TW-iso2022-CN-EXT.so
 269 LINK_TARGETS += zh_TW-big5p%UTF-8.so zh_TW-big5p%zh_CN.gbk.so
 270 LINK_TARGETS += zh_TW-big5p%zh_HK.hkscs.so zh_TW-cp937%UTF-8.so zh_TW-euc%UTF-8.so
 271 LINK_TARGETS += zh_TW-euc%zh_TW-big5.so zh_TW-euc%zh_TW-iso2022-7.so
 272 LINK_TARGETS += zh_TW-euc%zh_TW-iso2022-CN-EXT.so zh_TW-iso2022-7%UTF-8.so
 273 LINK_TARGETS += zh_TW-iso2022-7%zh_TW-big5.so zh_TW-iso2022-7%zh_TW-euc.so
 274 LINK_TARGETS += zh_TW-iso2022-CN-EXT%zh_TW-big5.so zh_TW-iso2022-CN-EXT%zh_TW-euc.so
 275 
 276 all: $(ALL_SOS)
 277 
 278 #
 279 # Proto area symlinks
 280 #
 281 $(CREATE_LINKS):        $(ICONV_LINK_TARGETS)
 282         $(SYMLINK) -f GBK%UCS-2BE.so $(ICONV_DIR)/GB18030%UCS-2BE.so
 283         $(SYMLINK) -f GBK%UCS-2LE.so $(ICONV_DIR)/GB18030%UCS-2LE.so
 284         $(SYMLINK) -f GBK%UCS-4BE.so $(ICONV_DIR)/GB18030%UCS-4BE.so
 285         $(SYMLINK) -f GBK%UCS-4LE.so $(ICONV_DIR)/GB18030%UCS-4LE.so
 286         $(SYMLINK) -f HZ-GB-2312%zh_CN.euc.so $(ICONV_DIR)/HZ-GB-2312%zh_CN.gbk.so
 287         $(SYMLINK) -f UCS-2BE%GBK.so $(ICONV_DIR)/UCS-2BE%GB18030.so
 288         $(SYMLINK) -f UCS-2LE%GBK.so $(ICONV_DIR)/UCS-2LE%GB18030.so
 289         $(SYMLINK) -f UCS-4BE%GBK.so $(ICONV_DIR)/UCS-4BE%GB18030.so
 290         $(SYMLINK) -f UCS-4LE%GBK.so $(ICONV_DIR)/UCS-4LE%GB18030.so
 291         $(SYMLINK) -f UTF-8%zh_CN.euc.so $(ICONV_DIR)/UTF-8%gb2312.so
 292         $(SYMLINK) -f UTF-8%zh_CN.gbk.so $(ICONV_DIR)/UTF-8%GB18030.so
 293         $(SYMLINK) -f UTF-8%zh_CN.gbk.so $(ICONV_DIR)/UTF-8%GBK.so
 294         $(SYMLINK) -f UTF-8%zh_CN.gbk.so $(ICONV_DIR)/UTF-8%zh_CN.gb18030.so
 295         $(SYMLINK) -f UTF-8%zh_CN.iso2022-7.so $(ICONV_DIR)/UTF-8%iso2022.so
 296         $(SYMLINK) -f UTF-8%zh_HK.hkscs.so $(ICONV_DIR)/UTF-8%Big5-HKSCS.so
 297         $(SYMLINK) -f UTF-8%zh_HK.hkscs.so $(ICONV_DIR)/UTF-8%zh_HK-big5hk.so
 298         $(SYMLINK) -f UTF-8%zh_HK.hkscs.so $(ICONV_DIR)/UTF-8%zh_HK.big5hk.so
 299         $(SYMLINK) -f UTF-8%zh_TW-big5.so $(ICONV_DIR)/UTF-8%BIG5.so
 300         $(SYMLINK) -f UTF-8%zh_TW-big5.so $(ICONV_DIR)/UTF-8%zh_TW.big5.so
 301         $(SYMLINK) -f UTF-8%zh_TW-big5p.so $(ICONV_DIR)/UTF-8%BIG5P.so
 302         $(SYMLINK) -f UTF-8%zh_TW-big5p.so $(ICONV_DIR)/UTF-8%zh_TW.big5p.so
 303         $(SYMLINK) -f UTF-8%zh_TW-cp937.so $(ICONV_DIR)/UTF-8%zh_TW.cp937.so
 304         $(SYMLINK) -f UTF-8%zh_TW-euc.so $(ICONV_DIR)/UTF-8%cns11643.so
 305         $(SYMLINK) -f UTF-8%zh_TW-euc.so $(ICONV_DIR)/UTF-8%zh_TW.euc.so
 306         $(SYMLINK) -f UTF-8%zh_TW-iso2022-7.so $(ICONV_DIR)/UTF-8%zh_TW.iso2022-7.so
 307         $(SYMLINK) -f zh_CN.euc%UTF-8.so $(ICONV_DIR)/gb2312%UTF-8.so
 308         $(SYMLINK) -f zh_CN.euc%zh_CN.iso2022-CN.so $(ICONV_DIR)/gb2312%iso2022.so
 309         $(SYMLINK) -f zh_CN.euc%zh_CN.iso2022-CN.so $(ICONV_DIR)/zh_CN.euc%zh_CN.iso2022-7.so
 310         $(SYMLINK) -f zh_CN.gbk%UTF-8.so $(ICONV_DIR)/GB18030%UTF-8.so
 311         $(SYMLINK) -f zh_CN.gbk%UTF-8.so $(ICONV_DIR)/GBK%UTF-8.so
 312         $(SYMLINK) -f zh_CN.gbk%UTF-8.so $(ICONV_DIR)/zh_CN.gb18030%UTF-8.so
 313         $(SYMLINK) -f zh_CN.gbk%zh_CN.iso2022-CN.so $(ICONV_DIR)/zh_CN.gb18030%zh_CN.iso2022-CN.so
 314         $(SYMLINK) -f zh_CN.gbk%zh_HK.hkscs.so $(ICONV_DIR)/zh_CN.gb18030%zh_HK-big5hk.so
 315         $(SYMLINK) -f zh_CN.gbk%zh_HK.hkscs.so $(ICONV_DIR)/zh_CN.gb18030%zh_HK.big5hk.so
 316         $(SYMLINK) -f zh_CN.gbk%zh_HK.hkscs.so $(ICONV_DIR)/zh_CN.gb18030%zh_HK.hkscs.so
 317         $(SYMLINK) -f zh_CN.gbk%zh_HK.hkscs.so $(ICONV_DIR)/zh_CN.gbk%zh_HK-big5hk.so
 318         $(SYMLINK) -f zh_CN.gbk%zh_HK.hkscs.so $(ICONV_DIR)/zh_CN.gbk%zh_HK.big5hk.so
 319         $(SYMLINK) -f zh_CN.gbk%zh_TW-big5.so $(ICONV_DIR)/zh_CN.gb18030%zh_TW-big5.so
 320         $(SYMLINK) -f zh_CN.gbk%zh_TW-big5p.so $(ICONV_DIR)/zh_CN.gb18030%zh_TW-big5p.so
 321         $(SYMLINK) -f zh_CN.iso2022-7%UTF-8.so $(ICONV_DIR)/iso2022%UTF-8.so
 322         $(SYMLINK) -f zh_CN.iso2022-CN%zh_CN.euc.so $(ICONV_DIR)/iso2022%gb2312.so
 323         $(SYMLINK) -f zh_CN.iso2022-CN%zh_CN.euc.so $(ICONV_DIR)/zh_CN.iso2022-7%zh_CN.euc.so
 324         $(SYMLINK) -f zh_HK.hkscs%UTF-8.so $(ICONV_DIR)/Big5-HKSCS%UTF-8.so
 325         $(SYMLINK) -f zh_HK.hkscs%UTF-8.so $(ICONV_DIR)/zh_HK-big5hk%UTF-8.so
 326         $(SYMLINK) -f zh_HK.hkscs%UTF-8.so $(ICONV_DIR)/zh_HK.big5hk%UTF-8.so
 327         $(SYMLINK) -f zh_HK.hkscs%zh_CN.gbk.so $(ICONV_DIR)/zh_HK-big5hk%zh_CN.gb18030.so
 328         $(SYMLINK) -f zh_HK.hkscs%zh_CN.gbk.so $(ICONV_DIR)/zh_HK-big5hk%zh_CN.gbk.so
 329         $(SYMLINK) -f zh_HK.hkscs%zh_CN.gbk.so $(ICONV_DIR)/zh_HK.big5hk%zh_CN.gb18030.so
 330         $(SYMLINK) -f zh_HK.hkscs%zh_CN.gbk.so $(ICONV_DIR)/zh_HK.big5hk%zh_CN.gbk.so
 331         $(SYMLINK) -f zh_HK.hkscs%zh_CN.gbk.so $(ICONV_DIR)/zh_HK.hkscs%zh_CN.gb18030.so
 332         $(SYMLINK) -f zh_HK.hkscs%zh_TW-big5p.so $(ICONV_DIR)/zh_HK-big5hk%zh_TW-big5p.so
 333         $(SYMLINK) -f zh_HK.hkscs%zh_TW-big5p.so $(ICONV_DIR)/zh_HK.big5hk%zh_TW-big5p.so
 334         $(SYMLINK) -f zh_TW-big5%UTF-8.so $(ICONV_DIR)/BIG5%UTF-8.so
 335         $(SYMLINK) -f zh_TW-big5%UTF-8.so $(ICONV_DIR)/zh_TW.big5%UTF-8.so
 336         $(SYMLINK) -f zh_TW-big5%zh_CN.gbk.so $(ICONV_DIR)/zh_TW-big5%zh_CN.gb18030.so
 337         $(SYMLINK) -f zh_TW-big5%zh_TW-euc.so $(ICONV_DIR)/zh_TW.big5%zh_TW.euc.so
 338         $(SYMLINK) -f zh_TW-big5%zh_TW-iso2022-7.so $(ICONV_DIR)/zh_TW-big5%zh_TW-iso2022-CN.so
 339         $(SYMLINK) -f zh_TW-big5%zh_TW-iso2022-7.so $(ICONV_DIR)/zh_TW.big5%zh_TW.iso2022-7.so
 340         $(SYMLINK) -f zh_TW-big5%zh_TW-iso2022-7.so $(ICONV_DIR)/zh_TW.big5%zh_TW.iso2022-CN.so
 341         $(SYMLINK) -f zh_TW-big5%zh_TW-iso2022-CN-EXT.so $(ICONV_DIR)/zh_TW.big5%zh_TW.iso2022-CN-EXT.so
 342         $(SYMLINK) -f zh_TW-big5p%UTF-8.so $(ICONV_DIR)/BIG5P%UTF-8.so
 343         $(SYMLINK) -f zh_TW-big5p%UTF-8.so $(ICONV_DIR)/zh_TW.big5p%UTF-8.so
 344         $(SYMLINK) -f zh_TW-big5p%zh_CN.gbk.so $(ICONV_DIR)/zh_TW-big5p%zh_CN.gb18030.so
 345         $(SYMLINK) -f zh_TW-big5p%zh_HK.hkscs.so $(ICONV_DIR)/zh_TW-big5p%zh_HK-big5hk.so
 346         $(SYMLINK) -f zh_TW-big5p%zh_HK.hkscs.so $(ICONV_DIR)/zh_TW-big5p%zh_HK.big5hk.so
 347         $(SYMLINK) -f zh_TW-cp937%UTF-8.so $(ICONV_DIR)/zh_TW.cp937%UTF-8.so
 348         $(SYMLINK) -f zh_TW-euc%UTF-8.so $(ICONV_DIR)/cns11643%UTF-8.so
 349         $(SYMLINK) -f zh_TW-euc%UTF-8.so $(ICONV_DIR)/zh_TW.euc%UTF-8.so
 350         $(SYMLINK) -f zh_TW-euc%zh_TW-big5.so $(ICONV_DIR)/zh_TW.euc%zh_TW.big5.so
 351         $(SYMLINK) -f zh_TW-euc%zh_TW-iso2022-7.so $(ICONV_DIR)/zh_TW.euc%zh_TW.iso2022-7.so
 352         $(SYMLINK) -f zh_TW-euc%zh_TW-iso2022-CN-EXT.so $(ICONV_DIR)/zh_TW.euc%zh_TW.iso2022-CN-EXT.so
 353         $(SYMLINK) -f zh_TW-iso2022-7%UTF-8.so $(ICONV_DIR)/zh_TW.iso2022-7%UTF-8.so
 354         $(SYMLINK) -f zh_TW-iso2022-7%zh_TW-big5.so $(ICONV_DIR)/zh_TW-iso2022-CN%zh_TW-big5.so
 355         $(SYMLINK) -f zh_TW-iso2022-7%zh_TW-big5.so $(ICONV_DIR)/zh_TW.iso2022-7%zh_TW.big5.so
 356         $(SYMLINK) -f zh_TW-iso2022-7%zh_TW-big5.so $(ICONV_DIR)/zh_TW.iso2022-CN%zh_TW.big5.so
 357         $(SYMLINK) -f zh_TW-iso2022-7%zh_TW-euc.so $(ICONV_DIR)/zh_TW.iso2022-7%zh_TW.euc.so
 358         $(SYMLINK) -f zh_TW-iso2022-CN-EXT%zh_TW-big5.so $(ICONV_DIR)/zh_TW.iso2022-CN-EXT%zh_TW.big5.so
 359         $(SYMLINK) -f zh_TW-iso2022-CN-EXT%zh_TW-euc.so $(ICONV_DIR)/zh_TW.iso2022-CN-EXT%zh_TW.euc.so
 360         $(TOUCH) $@