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