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 2007 Sun Microsystems, Inc.  All rights reserved.
  23 # Use is subject to license terms.
  24 #
  25 
  26 include $(SRC)/Makefile.master
  27 
  28 include $(SRC)/lib/iconv_modules/Makefile.iconv
  29 
  30 include $(SRC)/lib/iconv_modules/ja/Makefile.iconv
  31 
  32 LIB = $(MODULES:%.c=%.so)
  33 LIB64 = $(MODULES:%.c=$(MACH64)/%.so)
  34 
  35 LDLIBS= -lc
  36 
  37 INSTALL_MODULES = .modules_installed
  38 CLEANFILES += $(INSTALL_MODULES)
  39 
  40 install         :=      TARGET = install
  41 all             :=      TARGET = all
  42 lint            :=      TARGET = lint
  43 clean           :=      TARGET = clean
  44 clobber         :=      TARGET = clobber
  45 
  46 LINKS= \
  47         eucJP_TO_ISO-2022-JP.RFC1468.c \
  48         PCK_TO_ISO-2022-JP.RFC1468.c \
  49         UTF-8_TO_ISO-2022-JP.RFC1468.c \
  50         eucJP_TO_UTF-8-Java.c \
  51         UTF-8-Java_TO_eucJP.c \
  52         PCK_TO_UTF-8-Java.c \
  53         UTF-8-Java_TO_PCK.c \
  54         eucJP_TO_UTF-8.c \
  55         eucJP_TO_UTF-16.c \
  56         eucJP_TO_UTF-16BE.c \
  57         eucJP_TO_UTF-16LE.c \
  58         eucJP_TO_UCS-2.c \
  59         eucJP_TO_UCS-2BE.c \
  60         eucJP_TO_UCS-2LE.c \
  61         eucJP_TO_UTF-32.c \
  62         eucJP_TO_UTF-32BE.c \
  63         eucJP_TO_UTF-32LE.c \
  64         UTF-8_TO_eucJP.c \
  65         UTF-16_TO_eucJP.c \
  66         UTF-16BE_TO_eucJP.c \
  67         UTF-16LE_TO_eucJP.c \
  68         UCS-2_TO_eucJP.c \
  69         UCS-2BE_TO_eucJP.c \
  70         UCS-2LE_TO_eucJP.c \
  71         UTF-32_TO_eucJP.c \
  72         UTF-32BE_TO_eucJP.c \
  73         UTF-32LE_TO_eucJP.c \
  74         PCK_TO_UTF-8.c \
  75         PCK_TO_UTF-16.c \
  76         PCK_TO_UTF-16BE.c \
  77         PCK_TO_UTF-16LE.c \
  78         PCK_TO_UCS-2.c \
  79         PCK_TO_UCS-2BE.c \
  80         PCK_TO_UCS-2LE.c \
  81         PCK_TO_UTF-32.c \
  82         PCK_TO_UTF-32BE.c \
  83         PCK_TO_UTF-32LE.c \
  84         UTF-8_TO_PCK.c \
  85         UTF-16_TO_PCK.c \
  86         UTF-16BE_TO_PCK.c \
  87         UTF-16LE_TO_PCK.c \
  88         UCS-2_TO_PCK.c \
  89         UCS-2BE_TO_PCK.c \
  90         UCS-2LE_TO_PCK.c \
  91         UTF-32_TO_PCK.c \
  92         UTF-32BE_TO_PCK.c \
  93         UTF-32LE_TO_PCK.c \
  94         eucJP-ms_TO_UTF-8.c \
  95         eucJP-ms_TO_UTF-16.c \
  96         eucJP-ms_TO_UTF-16BE.c \
  97         eucJP-ms_TO_UTF-16LE.c \
  98         eucJP-ms_TO_UCS-2.c \
  99         eucJP-ms_TO_UCS-2BE.c \
 100         eucJP-ms_TO_UCS-2LE.c \
 101         eucJP-ms_TO_UTF-32.c \
 102         eucJP-ms_TO_UTF-32BE.c \
 103         eucJP-ms_TO_UTF-32LE.c \
 104         UTF-8_TO_eucJP-ms.c \
 105         UTF-16_TO_eucJP-ms.c \
 106         UTF-16BE_TO_eucJP-ms.c \
 107         UTF-16LE_TO_eucJP-ms.c \
 108         UCS-2_TO_eucJP-ms.c \
 109         UCS-2BE_TO_eucJP-ms.c \
 110         UCS-2LE_TO_eucJP-ms.c \
 111         UTF-32_TO_eucJP-ms.c \
 112         UTF-32BE_TO_eucJP-ms.c \
 113         UTF-32LE_TO_eucJP-ms.c \
 114         ms932_TO_UTF-8.c \
 115         ms932_TO_UTF-16.c \
 116         ms932_TO_UTF-16BE.c \
 117         ms932_TO_UTF-16LE.c \
 118         ms932_TO_UCS-2.c \
 119         ms932_TO_UCS-2BE.c \
 120         ms932_TO_UCS-2LE.c \
 121         ms932_TO_UTF-32.c \
 122         ms932_TO_UTF-32BE.c \
 123         ms932_TO_UTF-32LE.c \
 124         UTF-8_TO_ms932.c \
 125         UTF-16_TO_ms932.c \
 126         UTF-16BE_TO_ms932.c \
 127         UTF-16LE_TO_ms932.c \
 128         UCS-2_TO_ms932.c \
 129         UCS-2BE_TO_ms932.c \
 130         UCS-2LE_TO_ms932.c \
 131         UTF-32_TO_ms932.c \
 132         UTF-32BE_TO_ms932.c \
 133         UTF-32LE_TO_ms932.c \
 134         EUC-JIS-2004_TO_UTF-8.c \
 135         EUC-JIS-2004_TO_UTF-16.c \
 136         EUC-JIS-2004_TO_UTF-16BE.c \
 137         EUC-JIS-2004_TO_UTF-16LE.c \
 138         EUC-JIS-2004_TO_UCS-2.c \
 139         EUC-JIS-2004_TO_UCS-2BE.c \
 140         EUC-JIS-2004_TO_UCS-2LE.c \
 141         EUC-JIS-2004_TO_UTF-32.c \
 142         EUC-JIS-2004_TO_UTF-32BE.c \
 143         EUC-JIS-2004_TO_UTF-32LE.c \
 144         UTF-8_TO_EUC-JIS-2004.c \
 145         UTF-16_TO_EUC-JIS-2004.c \
 146         UTF-16BE_TO_EUC-JIS-2004.c \
 147         UTF-16LE_TO_EUC-JIS-2004.c \
 148         UCS-2_TO_EUC-JIS-2004.c \
 149         UCS-2BE_TO_EUC-JIS-2004.c \
 150         UCS-2LE_TO_EUC-JIS-2004.c \
 151         UTF-32_TO_EUC-JIS-2004.c \
 152         UTF-32BE_TO_EUC-JIS-2004.c \
 153         UTF-32LE_TO_EUC-JIS-2004.c \
 154         Shift_JIS-2004_TO_UTF-8.c \
 155         Shift_JIS-2004_TO_UTF-16.c \
 156         Shift_JIS-2004_TO_UTF-16BE.c \
 157         Shift_JIS-2004_TO_UTF-16LE.c \
 158         Shift_JIS-2004_TO_UCS-2.c \
 159         Shift_JIS-2004_TO_UCS-2BE.c \
 160         Shift_JIS-2004_TO_UCS-2LE.c \
 161         Shift_JIS-2004_TO_UTF-32.c \
 162         Shift_JIS-2004_TO_UTF-32BE.c \
 163         Shift_JIS-2004_TO_UTF-32LE.c \
 164         UTF-8_TO_Shift_JIS-2004.c \
 165         UTF-16_TO_Shift_JIS-2004.c \
 166         UTF-16BE_TO_Shift_JIS-2004.c \
 167         UTF-16LE_TO_Shift_JIS-2004.c \
 168         UCS-2_TO_Shift_JIS-2004.c \
 169         UCS-2BE_TO_Shift_JIS-2004.c \
 170         UCS-2LE_TO_Shift_JIS-2004.c \
 171         UTF-32_TO_Shift_JIS-2004.c \
 172         UTF-32BE_TO_Shift_JIS-2004.c \
 173         UTF-32LE_TO_Shift_JIS-2004.c \
 174         ISO-2022-JP-2004_TO_UTF-8.c \
 175         ISO-2022-JP-2004_TO_UTF-16.c \
 176         ISO-2022-JP-2004_TO_UTF-16BE.c \
 177         ISO-2022-JP-2004_TO_UTF-16LE.c \
 178         ISO-2022-JP-2004_TO_UCS-2.c \
 179         ISO-2022-JP-2004_TO_UCS-2BE.c \
 180         ISO-2022-JP-2004_TO_UCS-2LE.c \
 181         ISO-2022-JP-2004_TO_UTF-32.c \
 182         ISO-2022-JP-2004_TO_UTF-32BE.c \
 183         ISO-2022-JP-2004_TO_UTF-32LE.c \
 184         UTF-8_TO_ISO-2022-JP-2004.c \
 185         UTF-16_TO_ISO-2022-JP-2004.c \
 186         UTF-16BE_TO_ISO-2022-JP-2004.c \
 187         UTF-16LE_TO_ISO-2022-JP-2004.c \
 188         UCS-2_TO_ISO-2022-JP-2004.c \
 189         UCS-2BE_TO_ISO-2022-JP-2004.c \
 190         UCS-2LE_TO_ISO-2022-JP-2004.c \
 191         UTF-32_TO_ISO-2022-JP-2004.c \
 192         UTF-32BE_TO_ISO-2022-JP-2004.c \
 193         UTF-32LE_TO_ISO-2022-JP-2004.c
 194 
 195 dummy: all
 196 
 197 # symlink rules
 198 
 199 # ISO-2022-JP.RFC1468 -> ISO-2022-JP
 200 eucJP_TO_ISO-2022-JP.RFC1468.c:
 201         $(RM) $@; $(SYMLINK) ../common/eucJP_TO_ISO-2022-JP.c $@
 202 PCK_TO_ISO-2022-JP.RFC1468.c:
 203         $(RM) $@; $(SYMLINK) ../common/PCK_TO_ISO-2022-JP.c $@
 204 UTF-8_TO_ISO-2022-JP.RFC1468.c:
 205         $(RM) $@; $(SYMLINK) ../common/UTF-8_TO_ISO-2022-JP.c $@
 206 
 207 # UTF-8-Java -> Unicode
 208 eucJP_TO_UTF-8-Java.c: ../common/eucJP_TO_Unicode.c
 209         $(RM) $@; $(SYMLINK) ../common/eucJP_TO_Unicode.c $@
 210 UTF-8-Java_TO_eucJP.c: ../common/Unicode_TO_eucJP.c
 211         $(RM) $@; $(SYMLINK) ../common/Unicode_TO_eucJP.c $@
 212 PCK_TO_UTF-8-Java.c: ../common/PCK_TO_Unicode.c
 213         $(RM) $@; $(SYMLINK) ../common/PCK_TO_Unicode.c $@
 214 UTF-8-Java_TO_PCK.c: ../common/Unicode_TO_PCK.c
 215         $(RM) $@; $(SYMLINK) ../common/Unicode_TO_PCK.c $@
 216 
 217 eucJP_TO_UTF-8.c \
 218 eucJP_TO_UTF-16.c eucJP_TO_UTF-16BE.c eucJP_TO_UTF-16LE.c \
 219 eucJP_TO_UCS-2.c eucJP_TO_UCS-2BE.c eucJP_TO_UCS-2LE.c \
 220 eucJP_TO_UTF-32.c eucJP_TO_UTF-32BE.c eucJP_TO_UTF-32LE.c \
 221 eucJP-ms_TO_UTF-8.c \
 222 eucJP-ms_TO_UTF-16.c eucJP-ms_TO_UTF-16BE.c eucJP-ms_TO_UTF-16LE.c \
 223 eucJP-ms_TO_UCS-2.c eucJP-ms_TO_UCS-2BE.c eucJP-ms_TO_UCS-2LE.c \
 224 eucJP-ms_TO_UTF-32.c eucJP-ms_TO_UTF-32BE.c eucJP-ms_TO_UTF-32LE.c: ../common/eucJP_TO_Unicode.c
 225         $(RM) $@; $(SYMLINK) ../common/eucJP_TO_Unicode.c $@
 226 
 227 PCK_TO_UTF-8.c \
 228 PCK_TO_UTF-16.c PCK_TO_UTF-16BE.c PCK_TO_UTF-16LE.c \
 229 PCK_TO_UCS-2.c PCK_TO_UCS-2BE.c PCK_TO_UCS-2LE.c \
 230 PCK_TO_UTF-32.c PCK_TO_UTF-32BE.c PCK_TO_UTF-32LE.c \
 231 ms932_TO_UTF-8.c \
 232 ms932_TO_UTF-16.c ms932_TO_UTF-16BE.c ms932_TO_UTF-16LE.c \
 233 ms932_TO_UCS-2.c ms932_TO_UCS-2BE.c ms932_TO_UCS-2LE.c \
 234 ms932_TO_UTF-32.c ms932_TO_UTF-32BE.c ms932_TO_UTF-32LE.c: ../common/PCK_TO_Unicode.c
 235         $(RM) $@; $(SYMLINK) ../common/PCK_TO_Unicode.c $@
 236 
 237 UTF-8_TO_eucJP.c \
 238 UTF-16_TO_eucJP.c UTF-16BE_TO_eucJP.c UTF-16LE_TO_eucJP.c \
 239 UCS-2_TO_eucJP.c UCS-2BE_TO_eucJP.c UCS-2LE_TO_eucJP.c \
 240 UTF-32_TO_eucJP.c UTF-32BE_TO_eucJP.c UTF-32LE_TO_eucJP.c \
 241 UTF-8_TO_eucJP-ms.c \
 242 UTF-16_TO_eucJP-ms.c UTF-16BE_TO_eucJP-ms.c UTF-16LE_TO_eucJP-ms.c \
 243 UCS-2_TO_eucJP-ms.c UCS-2BE_TO_eucJP-ms.c UCS-2LE_TO_eucJP-ms.c \
 244 UTF-32_TO_eucJP-ms.c UTF-32BE_TO_eucJP-ms.c UTF-32LE_TO_eucJP-ms.c: ../common/Unicode_TO_eucJP.c
 245         $(RM) $@; $(SYMLINK) ../common/Unicode_TO_eucJP.c $@
 246 
 247 UTF-8_TO_PCK.c \
 248 UTF-16_TO_PCK.c UTF-16BE_TO_PCK.c UTF-16LE_TO_PCK.c \
 249 UCS-2_TO_PCK.c UCS-2BE_TO_PCK.c UCS-2LE_TO_PCK.c \
 250 UTF-32_TO_PCK.c UTF-32BE_TO_PCK.c UTF-32LE_TO_PCK.c \
 251 UTF-8_TO_ms932.c \
 252 UTF-16_TO_ms932.c UTF-16BE_TO_ms932.c UTF-16LE_TO_ms932.c \
 253 UCS-2_TO_ms932.c UCS-2BE_TO_ms932.c UCS-2LE_TO_ms932.c \
 254 UTF-32_TO_ms932.c UTF-32BE_TO_ms932.c UTF-32LE_TO_ms932.c: ../common/Unicode_TO_PCK.c
 255         $(RM) $@; $(SYMLINK) ../common/Unicode_TO_PCK.c $@
 256 
 257 EUC-JIS-2004_TO_UTF-8.c \
 258 EUC-JIS-2004_TO_UTF-16.c EUC-JIS-2004_TO_UTF-16BE.c EUC-JIS-2004_TO_UTF-16LE.c \
 259 EUC-JIS-2004_TO_UCS-2.c EUC-JIS-2004_TO_UCS-2BE.c EUC-JIS-2004_TO_UCS-2LE.c \
 260 EUC-JIS-2004_TO_UTF-32.c EUC-JIS-2004_TO_UTF-32BE.c EUC-JIS-2004_TO_UTF-32LE.c: ../common/EUC-JIS-2004_TO_Unicode.c
 261         $(RM) $@; $(SYMLINK) ../common/EUC-JIS-2004_TO_Unicode.c $@
 262 
 263 UTF-8_TO_EUC-JIS-2004.c \
 264 UTF-16_TO_EUC-JIS-2004.c UTF-16BE_TO_EUC-JIS-2004.c UTF-16LE_TO_EUC-JIS-2004.c \
 265 UCS-2_TO_EUC-JIS-2004.c UCS-2BE_TO_EUC-JIS-2004.c UCS-2LE_TO_EUC-JIS-2004.c \
 266 UTF-32_TO_EUC-JIS-2004.c UTF-32BE_TO_EUC-JIS-2004.c UTF-32LE_TO_EUC-JIS-2004.c: ../common/Unicode_TO_EUC-JIS-2004.c
 267         $(RM) $@; $(SYMLINK) ../common/Unicode_TO_EUC-JIS-2004.c $@
 268 
 269 Shift_JIS-2004_TO_UTF-8.c \
 270 Shift_JIS-2004_TO_UTF-16.c \
 271 Shift_JIS-2004_TO_UTF-16BE.c Shift_JIS-2004_TO_UTF-16LE.c \
 272 Shift_JIS-2004_TO_UCS-2.c \
 273 Shift_JIS-2004_TO_UCS-2BE.c Shift_JIS-2004_TO_UCS-2LE.c \
 274 Shift_JIS-2004_TO_UTF-32.c \
 275 Shift_JIS-2004_TO_UTF-32BE.c Shift_JIS-2004_TO_UTF-32LE.c: ../common/Shift_JIS-2004_TO_Unicode.c
 276         $(RM) $@; $(SYMLINK) ../common/Shift_JIS-2004_TO_Unicode.c $@
 277 
 278 UTF-8_TO_Shift_JIS-2004.c \
 279 UTF-16_TO_Shift_JIS-2004.c \
 280 UTF-16BE_TO_Shift_JIS-2004.c UTF-16LE_TO_Shift_JIS-2004.c \
 281 UCS-2_TO_Shift_JIS-2004.c \
 282 UCS-2BE_TO_Shift_JIS-2004.c UCS-2LE_TO_Shift_JIS-2004.c \
 283 UTF-32_TO_Shift_JIS-2004.c \
 284 UTF-32BE_TO_Shift_JIS-2004.c UTF-32LE_TO_Shift_JIS-2004.c: ../common/Unicode_TO_Shift_JIS-2004.c
 285         $(RM) $@; $(SYMLINK) ../common/Unicode_TO_Shift_JIS-2004.c $@
 286 
 287 ISO-2022-JP-2004_TO_UTF-8.c \
 288 ISO-2022-JP-2004_TO_UTF-16.c \
 289 ISO-2022-JP-2004_TO_UTF-16BE.c ISO-2022-JP-2004_TO_UTF-16LE.c \
 290 ISO-2022-JP-2004_TO_UCS-2.c \
 291 ISO-2022-JP-2004_TO_UCS-2BE.c ISO-2022-JP-2004_TO_UCS-2LE.c \
 292 ISO-2022-JP-2004_TO_UTF-32.c \
 293 ISO-2022-JP-2004_TO_UTF-32BE.c ISO-2022-JP-2004_TO_UTF-32LE.c: ../common/ISO-2022-JP-2004_TO_Unicode.c
 294         $(RM) $@; $(SYMLINK) ../common/ISO-2022-JP-2004_TO_Unicode.c $@
 295 
 296 UTF-8_TO_ISO-2022-JP-2004.c \
 297 UTF-16_TO_ISO-2022-JP-2004.c \
 298 UTF-16BE_TO_ISO-2022-JP-2004.c UTF-16LE_TO_ISO-2022-JP-2004.c \
 299 UCS-2_TO_ISO-2022-JP-2004.c \
 300 UCS-2BE_TO_ISO-2022-JP-2004.c UCS-2LE_TO_ISO-2022-JP-2004.c \
 301 UTF-32_TO_ISO-2022-JP-2004.c \
 302 UTF-32BE_TO_ISO-2022-JP-2004.c UTF-32LE_TO_ISO-2022-JP-2004.c: ../common/Unicode_TO_ISO-2022-JP-2004.c
 303         $(RM) $@; $(SYMLINK) ../common/Unicode_TO_ISO-2022-JP-2004.c $@
 304 
 305 all: $(LINKS) .WAIT $(DYNOBJS)
 306 
 307 CLEANFILES += $(LINKS)  $(DYNOBJS) $(ALL_SOS)
 308 
 309 clobber: clean
 310 
 311 $(INSTALL_MODULES):     $(DYNOBJS)
 312         for f in $(DYNOBJS); do \
 313                 fp=`echo $$f | $(SED) -e 's/_TO_/%/'`; \
 314                 echo "installing $$f as $(ICONV_DIR)/$$fp ..." ; \
 315                 $(RM) $(ICONV_DIR)/$$fp ; \
 316                 $(CP) $$f $(ICONV_DIR)/$$fp ; \
 317                 $(CHMOD) 755 $(ICONV_DIR)/$$fp ; \
 318         done
 319         $(TOUCH) $@
 320 
 321 $(CREATE_LINKS):        $(INSTALL_MODULES)
 322         $(SYMLINK) -f EUC-JIS-2004%UTF-32.so $(ICONV_DIR)/EUC-JIS-2004%UCS-4.so
 323         $(SYMLINK) -f EUC-JIS-2004%UTF-32BE.so $(ICONV_DIR)/EUC-JIS-2004%UCS-4BE.so
 324         $(SYMLINK) -f EUC-JIS-2004%UTF-32LE.so $(ICONV_DIR)/EUC-JIS-2004%UCS-4LE.so
 325         $(SYMLINK) -f ISO-2022-JP%PCK.so $(ICONV_DIR)/ISO-2022-JP%SJIS.so
 326         $(SYMLINK) -f ISO-2022-JP-2004%UTF-32.so $(ICONV_DIR)/ISO-2022-JP-2004%UCS-4.so
 327         $(SYMLINK) -f ISO-2022-JP-2004%UTF-32BE.so $(ICONV_DIR)/ISO-2022-JP-2004%UCS-4BE.so
 328         $(SYMLINK) -f ISO-2022-JP-2004%UTF-32LE.so $(ICONV_DIR)/ISO-2022-JP-2004%UCS-4LE.so
 329         $(SYMLINK) -f ISO-2022-JP%eucJP.so $(ICONV_DIR)/JIS7%eucJP.so
 330         $(SYMLINK) -f PCK%UTF-32.so $(ICONV_DIR)/PCK%UCS-4.so
 331         $(SYMLINK) -f PCK%UTF-32BE.so $(ICONV_DIR)/PCK%UCS-4BE.so
 332         $(SYMLINK) -f PCK%UTF-32LE.so $(ICONV_DIR)/PCK%UCS-4LE.so
 333         $(SYMLINK) -f PCK%ISO-2022-JP.so $(ICONV_DIR)/SJIS%ISO-2022-JP.so
 334         $(SYMLINK) -f PCK%UTF-8.so $(ICONV_DIR)/SJIS%UTF-8.so
 335         $(SYMLINK) -f PCK%eucJP.so $(ICONV_DIR)/SJIS%eucJP.so
 336         $(SYMLINK) -f PCK%jis.so $(ICONV_DIR)/SJIS%jis.so
 337         $(SYMLINK) -f Shift_JIS-2004%UTF-32.so $(ICONV_DIR)/Shift_JIS-2004%UCS-4.so
 338         $(SYMLINK) -f Shift_JIS-2004%UTF-32BE.so $(ICONV_DIR)/Shift_JIS-2004%UCS-4BE.so
 339         $(SYMLINK) -f Shift_JIS-2004%UTF-32LE.so $(ICONV_DIR)/Shift_JIS-2004%UCS-4LE.so
 340         $(SYMLINK) -f UTF-32%EUC-JIS-2004.so $(ICONV_DIR)/UCS-4%EUC-JIS-2004.so
 341         $(SYMLINK) -f UTF-32%ISO-2022-JP-2004.so $(ICONV_DIR)/UCS-4%ISO-2022-JP-2004.so
 342         $(SYMLINK) -f UTF-32%PCK.so $(ICONV_DIR)/UCS-4%PCK.so
 343         $(SYMLINK) -f UTF-32%Shift_JIS-2004.so $(ICONV_DIR)/UCS-4%Shift_JIS-2004.so
 344         $(SYMLINK) -f UTF-32%eucJP-ms.so $(ICONV_DIR)/UCS-4%eucJP-ms.so
 345         $(SYMLINK) -f UTF-32%eucJP.so $(ICONV_DIR)/UCS-4%eucJP.so
 346         $(SYMLINK) -f UTF-32%ms932.so $(ICONV_DIR)/UCS-4%ms932.so
 347         $(SYMLINK) -f UTF-32BE%EUC-JIS-2004.so $(ICONV_DIR)/UCS-4BE%EUC-JIS-2004.so
 348         $(SYMLINK) -f UTF-32BE%ISO-2022-JP-2004.so $(ICONV_DIR)/UCS-4BE%ISO-2022-JP-2004.so
 349         $(SYMLINK) -f UTF-32BE%PCK.so $(ICONV_DIR)/UCS-4BE%PCK.so
 350         $(SYMLINK) -f UTF-32BE%Shift_JIS-2004.so $(ICONV_DIR)/UCS-4BE%Shift_JIS-2004.so
 351         $(SYMLINK) -f UTF-32BE%eucJP-ms.so $(ICONV_DIR)/UCS-4BE%eucJP-ms.so
 352         $(SYMLINK) -f UTF-32BE%eucJP.so $(ICONV_DIR)/UCS-4BE%eucJP.so
 353         $(SYMLINK) -f UTF-32BE%ms932.so $(ICONV_DIR)/UCS-4BE%ms932.so
 354         $(SYMLINK) -f UTF-32LE%EUC-JIS-2004.so $(ICONV_DIR)/UCS-4LE%EUC-JIS-2004.so
 355         $(SYMLINK) -f UTF-32LE%ISO-2022-JP-2004.so $(ICONV_DIR)/UCS-4LE%ISO-2022-JP-2004.so
 356         $(SYMLINK) -f UTF-32LE%PCK.so $(ICONV_DIR)/UCS-4LE%PCK.so
 357         $(SYMLINK) -f UTF-32LE%Shift_JIS-2004.so $(ICONV_DIR)/UCS-4LE%Shift_JIS-2004.so
 358         $(SYMLINK) -f UTF-32LE%eucJP-ms.so $(ICONV_DIR)/UCS-4LE%eucJP-ms.so
 359         $(SYMLINK) -f UTF-32LE%eucJP.so $(ICONV_DIR)/UCS-4LE%eucJP.so
 360         $(SYMLINK) -f UTF-32LE%ms932.so $(ICONV_DIR)/UCS-4LE%ms932.so
 361         $(SYMLINK) -f UTF-8%PCK.so $(ICONV_DIR)/UTF-8%SJIS.so
 362         $(SYMLINK) -f eucJP%ISO-2022-JP.so $(ICONV_DIR)/eucJP%JIS7.so
 363         $(SYMLINK) -f eucJP%PCK.so $(ICONV_DIR)/eucJP%SJIS.so
 364         $(SYMLINK) -f eucJP%UTF-32.so $(ICONV_DIR)/eucJP%UCS-4.so
 365         $(SYMLINK) -f eucJP%UTF-32BE.so $(ICONV_DIR)/eucJP%UCS-4BE.so
 366         $(SYMLINK) -f eucJP%UTF-32LE.so $(ICONV_DIR)/eucJP%UCS-4LE.so
 367         $(SYMLINK) -f eucJP-ms%UTF-32.so $(ICONV_DIR)/eucJP-ms%UCS-4.so
 368         $(SYMLINK) -f eucJP-ms%UTF-32BE.so $(ICONV_DIR)/eucJP-ms%UCS-4BE.so
 369         $(SYMLINK) -f eucJP-ms%UTF-32LE.so $(ICONV_DIR)/eucJP-ms%UCS-4LE.so
 370         $(SYMLINK) -f jis%PCK.so $(ICONV_DIR)/jis%SJIS.so
 371         $(SYMLINK) -f ms932%UTF-32.so $(ICONV_DIR)/ms932%UCS-4.so
 372         $(SYMLINK) -f ms932%UTF-32BE.so $(ICONV_DIR)/ms932%UCS-4BE.so
 373         $(SYMLINK) -f ms932%UTF-32LE.so $(ICONV_DIR)/ms932%UCS-4LE.so
 374         $(TOUCH) $@
 375 
 376 install: $(ICONV_DIR) all $(INSTALL_MODULES) $(CREATE_LINKS)
 377 
 378 FRC: