1*91e1e26aSAlexander Pyhalov# 2*91e1e26aSAlexander Pyhalov# CDDL HEADER START 3*91e1e26aSAlexander Pyhalov# 4*91e1e26aSAlexander Pyhalov# The contents of this file are subject to the terms of the 5*91e1e26aSAlexander Pyhalov# Common Development and Distribution License (the "License"). 6*91e1e26aSAlexander Pyhalov# You may not use this file except in compliance with the License. 7*91e1e26aSAlexander Pyhalov# 8*91e1e26aSAlexander Pyhalov# You can obtain a copy of the license at src/OPENSOLARIS.LICENSE 9*91e1e26aSAlexander Pyhalov# or http://www.opensolaris.org/os/licensing. 10*91e1e26aSAlexander Pyhalov# See the License for the specific language governing permissions 11*91e1e26aSAlexander Pyhalov# and limitations under the License. 12*91e1e26aSAlexander Pyhalov# 13*91e1e26aSAlexander Pyhalov# When distributing Covered Code, include this CDDL HEADER in each 14*91e1e26aSAlexander Pyhalov# file and include the License file at src/OPENSOLARIS.LICENSE. 15*91e1e26aSAlexander Pyhalov# If applicable, add the following below this CDDL HEADER, with the 16*91e1e26aSAlexander Pyhalov# fields enclosed by brackets "[]" replaced with your own identifying 17*91e1e26aSAlexander Pyhalov# information: Portions Copyright [yyyy] [name of copyright owner] 18*91e1e26aSAlexander Pyhalov# 19*91e1e26aSAlexander Pyhalov# CDDL HEADER END 20*91e1e26aSAlexander Pyhalov# 21*91e1e26aSAlexander Pyhalov# 22*91e1e26aSAlexander Pyhalov# Copyright 2007 Sun Microsystems, Inc. All rights reserved. 23*91e1e26aSAlexander Pyhalov# Use is subject to license terms. 24*91e1e26aSAlexander Pyhalov# 25*91e1e26aSAlexander Pyhalov 26*91e1e26aSAlexander Pyhalovinclude $(SRC)/Makefile.master 27*91e1e26aSAlexander Pyhalov 28*91e1e26aSAlexander Pyhalovinclude $(SRC)/lib/iconv_modules/Makefile.iconv 29*91e1e26aSAlexander Pyhalov 30*91e1e26aSAlexander Pyhalovinclude $(SRC)/lib/iconv_modules/ja/Makefile.iconv 31*91e1e26aSAlexander Pyhalov 32*91e1e26aSAlexander PyhalovLIB = $(MODULES:%.c=%.so) 33*91e1e26aSAlexander PyhalovLIB64 = $(MODULES:%.c=$(MACH64)/%.so) 34*91e1e26aSAlexander Pyhalov 35*91e1e26aSAlexander PyhalovLDLIBS= -lc 36*91e1e26aSAlexander Pyhalov 37*91e1e26aSAlexander PyhalovINSTALL_MODULES = .modules_installed 38*91e1e26aSAlexander PyhalovCLEANFILES += $(INSTALL_MODULES) 39*91e1e26aSAlexander Pyhalov 40*91e1e26aSAlexander Pyhalovinstall := TARGET = install 41*91e1e26aSAlexander Pyhalovall := TARGET = all 42*91e1e26aSAlexander Pyhalovlint := TARGET = lint 43*91e1e26aSAlexander Pyhalovclean := TARGET = clean 44*91e1e26aSAlexander Pyhalovclobber := TARGET = clobber 45*91e1e26aSAlexander Pyhalov 46*91e1e26aSAlexander PyhalovLINKS= \ 47*91e1e26aSAlexander Pyhalov eucJP_TO_ISO-2022-JP.RFC1468.c \ 48*91e1e26aSAlexander Pyhalov PCK_TO_ISO-2022-JP.RFC1468.c \ 49*91e1e26aSAlexander Pyhalov UTF-8_TO_ISO-2022-JP.RFC1468.c \ 50*91e1e26aSAlexander Pyhalov eucJP_TO_UTF-8-Java.c \ 51*91e1e26aSAlexander Pyhalov UTF-8-Java_TO_eucJP.c \ 52*91e1e26aSAlexander Pyhalov PCK_TO_UTF-8-Java.c \ 53*91e1e26aSAlexander Pyhalov UTF-8-Java_TO_PCK.c \ 54*91e1e26aSAlexander Pyhalov eucJP_TO_UTF-8.c \ 55*91e1e26aSAlexander Pyhalov eucJP_TO_UTF-16.c \ 56*91e1e26aSAlexander Pyhalov eucJP_TO_UTF-16BE.c \ 57*91e1e26aSAlexander Pyhalov eucJP_TO_UTF-16LE.c \ 58*91e1e26aSAlexander Pyhalov eucJP_TO_UCS-2.c \ 59*91e1e26aSAlexander Pyhalov eucJP_TO_UCS-2BE.c \ 60*91e1e26aSAlexander Pyhalov eucJP_TO_UCS-2LE.c \ 61*91e1e26aSAlexander Pyhalov eucJP_TO_UTF-32.c \ 62*91e1e26aSAlexander Pyhalov eucJP_TO_UTF-32BE.c \ 63*91e1e26aSAlexander Pyhalov eucJP_TO_UTF-32LE.c \ 64*91e1e26aSAlexander Pyhalov UTF-8_TO_eucJP.c \ 65*91e1e26aSAlexander Pyhalov UTF-16_TO_eucJP.c \ 66*91e1e26aSAlexander Pyhalov UTF-16BE_TO_eucJP.c \ 67*91e1e26aSAlexander Pyhalov UTF-16LE_TO_eucJP.c \ 68*91e1e26aSAlexander Pyhalov UCS-2_TO_eucJP.c \ 69*91e1e26aSAlexander Pyhalov UCS-2BE_TO_eucJP.c \ 70*91e1e26aSAlexander Pyhalov UCS-2LE_TO_eucJP.c \ 71*91e1e26aSAlexander Pyhalov UTF-32_TO_eucJP.c \ 72*91e1e26aSAlexander Pyhalov UTF-32BE_TO_eucJP.c \ 73*91e1e26aSAlexander Pyhalov UTF-32LE_TO_eucJP.c \ 74*91e1e26aSAlexander Pyhalov PCK_TO_UTF-8.c \ 75*91e1e26aSAlexander Pyhalov PCK_TO_UTF-16.c \ 76*91e1e26aSAlexander Pyhalov PCK_TO_UTF-16BE.c \ 77*91e1e26aSAlexander Pyhalov PCK_TO_UTF-16LE.c \ 78*91e1e26aSAlexander Pyhalov PCK_TO_UCS-2.c \ 79*91e1e26aSAlexander Pyhalov PCK_TO_UCS-2BE.c \ 80*91e1e26aSAlexander Pyhalov PCK_TO_UCS-2LE.c \ 81*91e1e26aSAlexander Pyhalov PCK_TO_UTF-32.c \ 82*91e1e26aSAlexander Pyhalov PCK_TO_UTF-32BE.c \ 83*91e1e26aSAlexander Pyhalov PCK_TO_UTF-32LE.c \ 84*91e1e26aSAlexander Pyhalov UTF-8_TO_PCK.c \ 85*91e1e26aSAlexander Pyhalov UTF-16_TO_PCK.c \ 86*91e1e26aSAlexander Pyhalov UTF-16BE_TO_PCK.c \ 87*91e1e26aSAlexander Pyhalov UTF-16LE_TO_PCK.c \ 88*91e1e26aSAlexander Pyhalov UCS-2_TO_PCK.c \ 89*91e1e26aSAlexander Pyhalov UCS-2BE_TO_PCK.c \ 90*91e1e26aSAlexander Pyhalov UCS-2LE_TO_PCK.c \ 91*91e1e26aSAlexander Pyhalov UTF-32_TO_PCK.c \ 92*91e1e26aSAlexander Pyhalov UTF-32BE_TO_PCK.c \ 93*91e1e26aSAlexander Pyhalov UTF-32LE_TO_PCK.c \ 94*91e1e26aSAlexander Pyhalov eucJP-ms_TO_UTF-8.c \ 95*91e1e26aSAlexander Pyhalov eucJP-ms_TO_UTF-16.c \ 96*91e1e26aSAlexander Pyhalov eucJP-ms_TO_UTF-16BE.c \ 97*91e1e26aSAlexander Pyhalov eucJP-ms_TO_UTF-16LE.c \ 98*91e1e26aSAlexander Pyhalov eucJP-ms_TO_UCS-2.c \ 99*91e1e26aSAlexander Pyhalov eucJP-ms_TO_UCS-2BE.c \ 100*91e1e26aSAlexander Pyhalov eucJP-ms_TO_UCS-2LE.c \ 101*91e1e26aSAlexander Pyhalov eucJP-ms_TO_UTF-32.c \ 102*91e1e26aSAlexander Pyhalov eucJP-ms_TO_UTF-32BE.c \ 103*91e1e26aSAlexander Pyhalov eucJP-ms_TO_UTF-32LE.c \ 104*91e1e26aSAlexander Pyhalov UTF-8_TO_eucJP-ms.c \ 105*91e1e26aSAlexander Pyhalov UTF-16_TO_eucJP-ms.c \ 106*91e1e26aSAlexander Pyhalov UTF-16BE_TO_eucJP-ms.c \ 107*91e1e26aSAlexander Pyhalov UTF-16LE_TO_eucJP-ms.c \ 108*91e1e26aSAlexander Pyhalov UCS-2_TO_eucJP-ms.c \ 109*91e1e26aSAlexander Pyhalov UCS-2BE_TO_eucJP-ms.c \ 110*91e1e26aSAlexander Pyhalov UCS-2LE_TO_eucJP-ms.c \ 111*91e1e26aSAlexander Pyhalov UTF-32_TO_eucJP-ms.c \ 112*91e1e26aSAlexander Pyhalov UTF-32BE_TO_eucJP-ms.c \ 113*91e1e26aSAlexander Pyhalov UTF-32LE_TO_eucJP-ms.c \ 114*91e1e26aSAlexander Pyhalov ms932_TO_UTF-8.c \ 115*91e1e26aSAlexander Pyhalov ms932_TO_UTF-16.c \ 116*91e1e26aSAlexander Pyhalov ms932_TO_UTF-16BE.c \ 117*91e1e26aSAlexander Pyhalov ms932_TO_UTF-16LE.c \ 118*91e1e26aSAlexander Pyhalov ms932_TO_UCS-2.c \ 119*91e1e26aSAlexander Pyhalov ms932_TO_UCS-2BE.c \ 120*91e1e26aSAlexander Pyhalov ms932_TO_UCS-2LE.c \ 121*91e1e26aSAlexander Pyhalov ms932_TO_UTF-32.c \ 122*91e1e26aSAlexander Pyhalov ms932_TO_UTF-32BE.c \ 123*91e1e26aSAlexander Pyhalov ms932_TO_UTF-32LE.c \ 124*91e1e26aSAlexander Pyhalov UTF-8_TO_ms932.c \ 125*91e1e26aSAlexander Pyhalov UTF-16_TO_ms932.c \ 126*91e1e26aSAlexander Pyhalov UTF-16BE_TO_ms932.c \ 127*91e1e26aSAlexander Pyhalov UTF-16LE_TO_ms932.c \ 128*91e1e26aSAlexander Pyhalov UCS-2_TO_ms932.c \ 129*91e1e26aSAlexander Pyhalov UCS-2BE_TO_ms932.c \ 130*91e1e26aSAlexander Pyhalov UCS-2LE_TO_ms932.c \ 131*91e1e26aSAlexander Pyhalov UTF-32_TO_ms932.c \ 132*91e1e26aSAlexander Pyhalov UTF-32BE_TO_ms932.c \ 133*91e1e26aSAlexander Pyhalov UTF-32LE_TO_ms932.c \ 134*91e1e26aSAlexander Pyhalov EUC-JIS-2004_TO_UTF-8.c \ 135*91e1e26aSAlexander Pyhalov EUC-JIS-2004_TO_UTF-16.c \ 136*91e1e26aSAlexander Pyhalov EUC-JIS-2004_TO_UTF-16BE.c \ 137*91e1e26aSAlexander Pyhalov EUC-JIS-2004_TO_UTF-16LE.c \ 138*91e1e26aSAlexander Pyhalov EUC-JIS-2004_TO_UCS-2.c \ 139*91e1e26aSAlexander Pyhalov EUC-JIS-2004_TO_UCS-2BE.c \ 140*91e1e26aSAlexander Pyhalov EUC-JIS-2004_TO_UCS-2LE.c \ 141*91e1e26aSAlexander Pyhalov EUC-JIS-2004_TO_UTF-32.c \ 142*91e1e26aSAlexander Pyhalov EUC-JIS-2004_TO_UTF-32BE.c \ 143*91e1e26aSAlexander Pyhalov EUC-JIS-2004_TO_UTF-32LE.c \ 144*91e1e26aSAlexander Pyhalov UTF-8_TO_EUC-JIS-2004.c \ 145*91e1e26aSAlexander Pyhalov UTF-16_TO_EUC-JIS-2004.c \ 146*91e1e26aSAlexander Pyhalov UTF-16BE_TO_EUC-JIS-2004.c \ 147*91e1e26aSAlexander Pyhalov UTF-16LE_TO_EUC-JIS-2004.c \ 148*91e1e26aSAlexander Pyhalov UCS-2_TO_EUC-JIS-2004.c \ 149*91e1e26aSAlexander Pyhalov UCS-2BE_TO_EUC-JIS-2004.c \ 150*91e1e26aSAlexander Pyhalov UCS-2LE_TO_EUC-JIS-2004.c \ 151*91e1e26aSAlexander Pyhalov UTF-32_TO_EUC-JIS-2004.c \ 152*91e1e26aSAlexander Pyhalov UTF-32BE_TO_EUC-JIS-2004.c \ 153*91e1e26aSAlexander Pyhalov UTF-32LE_TO_EUC-JIS-2004.c \ 154*91e1e26aSAlexander Pyhalov Shift_JIS-2004_TO_UTF-8.c \ 155*91e1e26aSAlexander Pyhalov Shift_JIS-2004_TO_UTF-16.c \ 156*91e1e26aSAlexander Pyhalov Shift_JIS-2004_TO_UTF-16BE.c \ 157*91e1e26aSAlexander Pyhalov Shift_JIS-2004_TO_UTF-16LE.c \ 158*91e1e26aSAlexander Pyhalov Shift_JIS-2004_TO_UCS-2.c \ 159*91e1e26aSAlexander Pyhalov Shift_JIS-2004_TO_UCS-2BE.c \ 160*91e1e26aSAlexander Pyhalov Shift_JIS-2004_TO_UCS-2LE.c \ 161*91e1e26aSAlexander Pyhalov Shift_JIS-2004_TO_UTF-32.c \ 162*91e1e26aSAlexander Pyhalov Shift_JIS-2004_TO_UTF-32BE.c \ 163*91e1e26aSAlexander Pyhalov Shift_JIS-2004_TO_UTF-32LE.c \ 164*91e1e26aSAlexander Pyhalov UTF-8_TO_Shift_JIS-2004.c \ 165*91e1e26aSAlexander Pyhalov UTF-16_TO_Shift_JIS-2004.c \ 166*91e1e26aSAlexander Pyhalov UTF-16BE_TO_Shift_JIS-2004.c \ 167*91e1e26aSAlexander Pyhalov UTF-16LE_TO_Shift_JIS-2004.c \ 168*91e1e26aSAlexander Pyhalov UCS-2_TO_Shift_JIS-2004.c \ 169*91e1e26aSAlexander Pyhalov UCS-2BE_TO_Shift_JIS-2004.c \ 170*91e1e26aSAlexander Pyhalov UCS-2LE_TO_Shift_JIS-2004.c \ 171*91e1e26aSAlexander Pyhalov UTF-32_TO_Shift_JIS-2004.c \ 172*91e1e26aSAlexander Pyhalov UTF-32BE_TO_Shift_JIS-2004.c \ 173*91e1e26aSAlexander Pyhalov UTF-32LE_TO_Shift_JIS-2004.c \ 174*91e1e26aSAlexander Pyhalov ISO-2022-JP-2004_TO_UTF-8.c \ 175*91e1e26aSAlexander Pyhalov ISO-2022-JP-2004_TO_UTF-16.c \ 176*91e1e26aSAlexander Pyhalov ISO-2022-JP-2004_TO_UTF-16BE.c \ 177*91e1e26aSAlexander Pyhalov ISO-2022-JP-2004_TO_UTF-16LE.c \ 178*91e1e26aSAlexander Pyhalov ISO-2022-JP-2004_TO_UCS-2.c \ 179*91e1e26aSAlexander Pyhalov ISO-2022-JP-2004_TO_UCS-2BE.c \ 180*91e1e26aSAlexander Pyhalov ISO-2022-JP-2004_TO_UCS-2LE.c \ 181*91e1e26aSAlexander Pyhalov ISO-2022-JP-2004_TO_UTF-32.c \ 182*91e1e26aSAlexander Pyhalov ISO-2022-JP-2004_TO_UTF-32BE.c \ 183*91e1e26aSAlexander Pyhalov ISO-2022-JP-2004_TO_UTF-32LE.c \ 184*91e1e26aSAlexander Pyhalov UTF-8_TO_ISO-2022-JP-2004.c \ 185*91e1e26aSAlexander Pyhalov UTF-16_TO_ISO-2022-JP-2004.c \ 186*91e1e26aSAlexander Pyhalov UTF-16BE_TO_ISO-2022-JP-2004.c \ 187*91e1e26aSAlexander Pyhalov UTF-16LE_TO_ISO-2022-JP-2004.c \ 188*91e1e26aSAlexander Pyhalov UCS-2_TO_ISO-2022-JP-2004.c \ 189*91e1e26aSAlexander Pyhalov UCS-2BE_TO_ISO-2022-JP-2004.c \ 190*91e1e26aSAlexander Pyhalov UCS-2LE_TO_ISO-2022-JP-2004.c \ 191*91e1e26aSAlexander Pyhalov UTF-32_TO_ISO-2022-JP-2004.c \ 192*91e1e26aSAlexander Pyhalov UTF-32BE_TO_ISO-2022-JP-2004.c \ 193*91e1e26aSAlexander Pyhalov UTF-32LE_TO_ISO-2022-JP-2004.c 194*91e1e26aSAlexander Pyhalov 195*91e1e26aSAlexander Pyhalovdummy: all 196*91e1e26aSAlexander Pyhalov 197*91e1e26aSAlexander Pyhalov# symlink rules 198*91e1e26aSAlexander Pyhalov 199*91e1e26aSAlexander Pyhalov# ISO-2022-JP.RFC1468 -> ISO-2022-JP 200*91e1e26aSAlexander PyhaloveucJP_TO_ISO-2022-JP.RFC1468.c: 201*91e1e26aSAlexander Pyhalov $(RM) $@; $(SYMLINK) ../common/eucJP_TO_ISO-2022-JP.c $@ 202*91e1e26aSAlexander PyhalovPCK_TO_ISO-2022-JP.RFC1468.c: 203*91e1e26aSAlexander Pyhalov $(RM) $@; $(SYMLINK) ../common/PCK_TO_ISO-2022-JP.c $@ 204*91e1e26aSAlexander PyhalovUTF-8_TO_ISO-2022-JP.RFC1468.c: 205*91e1e26aSAlexander Pyhalov $(RM) $@; $(SYMLINK) ../common/UTF-8_TO_ISO-2022-JP.c $@ 206*91e1e26aSAlexander Pyhalov 207*91e1e26aSAlexander Pyhalov# UTF-8-Java -> Unicode 208*91e1e26aSAlexander PyhaloveucJP_TO_UTF-8-Java.c: ../common/eucJP_TO_Unicode.c 209*91e1e26aSAlexander Pyhalov $(RM) $@; $(SYMLINK) ../common/eucJP_TO_Unicode.c $@ 210*91e1e26aSAlexander PyhalovUTF-8-Java_TO_eucJP.c: ../common/Unicode_TO_eucJP.c 211*91e1e26aSAlexander Pyhalov $(RM) $@; $(SYMLINK) ../common/Unicode_TO_eucJP.c $@ 212*91e1e26aSAlexander PyhalovPCK_TO_UTF-8-Java.c: ../common/PCK_TO_Unicode.c 213*91e1e26aSAlexander Pyhalov $(RM) $@; $(SYMLINK) ../common/PCK_TO_Unicode.c $@ 214*91e1e26aSAlexander PyhalovUTF-8-Java_TO_PCK.c: ../common/Unicode_TO_PCK.c 215*91e1e26aSAlexander Pyhalov $(RM) $@; $(SYMLINK) ../common/Unicode_TO_PCK.c $@ 216*91e1e26aSAlexander Pyhalov 217*91e1e26aSAlexander PyhaloveucJP_TO_UTF-8.c \ 218*91e1e26aSAlexander PyhaloveucJP_TO_UTF-16.c eucJP_TO_UTF-16BE.c eucJP_TO_UTF-16LE.c \ 219*91e1e26aSAlexander PyhaloveucJP_TO_UCS-2.c eucJP_TO_UCS-2BE.c eucJP_TO_UCS-2LE.c \ 220*91e1e26aSAlexander PyhaloveucJP_TO_UTF-32.c eucJP_TO_UTF-32BE.c eucJP_TO_UTF-32LE.c \ 221*91e1e26aSAlexander PyhaloveucJP-ms_TO_UTF-8.c \ 222*91e1e26aSAlexander PyhaloveucJP-ms_TO_UTF-16.c eucJP-ms_TO_UTF-16BE.c eucJP-ms_TO_UTF-16LE.c \ 223*91e1e26aSAlexander PyhaloveucJP-ms_TO_UCS-2.c eucJP-ms_TO_UCS-2BE.c eucJP-ms_TO_UCS-2LE.c \ 224*91e1e26aSAlexander PyhaloveucJP-ms_TO_UTF-32.c eucJP-ms_TO_UTF-32BE.c eucJP-ms_TO_UTF-32LE.c: ../common/eucJP_TO_Unicode.c 225*91e1e26aSAlexander Pyhalov $(RM) $@; $(SYMLINK) ../common/eucJP_TO_Unicode.c $@ 226*91e1e26aSAlexander Pyhalov 227*91e1e26aSAlexander PyhalovPCK_TO_UTF-8.c \ 228*91e1e26aSAlexander PyhalovPCK_TO_UTF-16.c PCK_TO_UTF-16BE.c PCK_TO_UTF-16LE.c \ 229*91e1e26aSAlexander PyhalovPCK_TO_UCS-2.c PCK_TO_UCS-2BE.c PCK_TO_UCS-2LE.c \ 230*91e1e26aSAlexander PyhalovPCK_TO_UTF-32.c PCK_TO_UTF-32BE.c PCK_TO_UTF-32LE.c \ 231*91e1e26aSAlexander Pyhalovms932_TO_UTF-8.c \ 232*91e1e26aSAlexander Pyhalovms932_TO_UTF-16.c ms932_TO_UTF-16BE.c ms932_TO_UTF-16LE.c \ 233*91e1e26aSAlexander Pyhalovms932_TO_UCS-2.c ms932_TO_UCS-2BE.c ms932_TO_UCS-2LE.c \ 234*91e1e26aSAlexander Pyhalovms932_TO_UTF-32.c ms932_TO_UTF-32BE.c ms932_TO_UTF-32LE.c: ../common/PCK_TO_Unicode.c 235*91e1e26aSAlexander Pyhalov $(RM) $@; $(SYMLINK) ../common/PCK_TO_Unicode.c $@ 236*91e1e26aSAlexander Pyhalov 237*91e1e26aSAlexander PyhalovUTF-8_TO_eucJP.c \ 238*91e1e26aSAlexander PyhalovUTF-16_TO_eucJP.c UTF-16BE_TO_eucJP.c UTF-16LE_TO_eucJP.c \ 239*91e1e26aSAlexander PyhalovUCS-2_TO_eucJP.c UCS-2BE_TO_eucJP.c UCS-2LE_TO_eucJP.c \ 240*91e1e26aSAlexander PyhalovUTF-32_TO_eucJP.c UTF-32BE_TO_eucJP.c UTF-32LE_TO_eucJP.c \ 241*91e1e26aSAlexander PyhalovUTF-8_TO_eucJP-ms.c \ 242*91e1e26aSAlexander PyhalovUTF-16_TO_eucJP-ms.c UTF-16BE_TO_eucJP-ms.c UTF-16LE_TO_eucJP-ms.c \ 243*91e1e26aSAlexander PyhalovUCS-2_TO_eucJP-ms.c UCS-2BE_TO_eucJP-ms.c UCS-2LE_TO_eucJP-ms.c \ 244*91e1e26aSAlexander PyhalovUTF-32_TO_eucJP-ms.c UTF-32BE_TO_eucJP-ms.c UTF-32LE_TO_eucJP-ms.c: ../common/Unicode_TO_eucJP.c 245*91e1e26aSAlexander Pyhalov $(RM) $@; $(SYMLINK) ../common/Unicode_TO_eucJP.c $@ 246*91e1e26aSAlexander Pyhalov 247*91e1e26aSAlexander PyhalovUTF-8_TO_PCK.c \ 248*91e1e26aSAlexander PyhalovUTF-16_TO_PCK.c UTF-16BE_TO_PCK.c UTF-16LE_TO_PCK.c \ 249*91e1e26aSAlexander PyhalovUCS-2_TO_PCK.c UCS-2BE_TO_PCK.c UCS-2LE_TO_PCK.c \ 250*91e1e26aSAlexander PyhalovUTF-32_TO_PCK.c UTF-32BE_TO_PCK.c UTF-32LE_TO_PCK.c \ 251*91e1e26aSAlexander PyhalovUTF-8_TO_ms932.c \ 252*91e1e26aSAlexander PyhalovUTF-16_TO_ms932.c UTF-16BE_TO_ms932.c UTF-16LE_TO_ms932.c \ 253*91e1e26aSAlexander PyhalovUCS-2_TO_ms932.c UCS-2BE_TO_ms932.c UCS-2LE_TO_ms932.c \ 254*91e1e26aSAlexander PyhalovUTF-32_TO_ms932.c UTF-32BE_TO_ms932.c UTF-32LE_TO_ms932.c: ../common/Unicode_TO_PCK.c 255*91e1e26aSAlexander Pyhalov $(RM) $@; $(SYMLINK) ../common/Unicode_TO_PCK.c $@ 256*91e1e26aSAlexander Pyhalov 257*91e1e26aSAlexander PyhalovEUC-JIS-2004_TO_UTF-8.c \ 258*91e1e26aSAlexander PyhalovEUC-JIS-2004_TO_UTF-16.c EUC-JIS-2004_TO_UTF-16BE.c EUC-JIS-2004_TO_UTF-16LE.c \ 259*91e1e26aSAlexander PyhalovEUC-JIS-2004_TO_UCS-2.c EUC-JIS-2004_TO_UCS-2BE.c EUC-JIS-2004_TO_UCS-2LE.c \ 260*91e1e26aSAlexander PyhalovEUC-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*91e1e26aSAlexander Pyhalov $(RM) $@; $(SYMLINK) ../common/EUC-JIS-2004_TO_Unicode.c $@ 262*91e1e26aSAlexander Pyhalov 263*91e1e26aSAlexander PyhalovUTF-8_TO_EUC-JIS-2004.c \ 264*91e1e26aSAlexander PyhalovUTF-16_TO_EUC-JIS-2004.c UTF-16BE_TO_EUC-JIS-2004.c UTF-16LE_TO_EUC-JIS-2004.c \ 265*91e1e26aSAlexander PyhalovUCS-2_TO_EUC-JIS-2004.c UCS-2BE_TO_EUC-JIS-2004.c UCS-2LE_TO_EUC-JIS-2004.c \ 266*91e1e26aSAlexander PyhalovUTF-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*91e1e26aSAlexander Pyhalov $(RM) $@; $(SYMLINK) ../common/Unicode_TO_EUC-JIS-2004.c $@ 268*91e1e26aSAlexander Pyhalov 269*91e1e26aSAlexander PyhalovShift_JIS-2004_TO_UTF-8.c \ 270*91e1e26aSAlexander PyhalovShift_JIS-2004_TO_UTF-16.c \ 271*91e1e26aSAlexander PyhalovShift_JIS-2004_TO_UTF-16BE.c Shift_JIS-2004_TO_UTF-16LE.c \ 272*91e1e26aSAlexander PyhalovShift_JIS-2004_TO_UCS-2.c \ 273*91e1e26aSAlexander PyhalovShift_JIS-2004_TO_UCS-2BE.c Shift_JIS-2004_TO_UCS-2LE.c \ 274*91e1e26aSAlexander PyhalovShift_JIS-2004_TO_UTF-32.c \ 275*91e1e26aSAlexander PyhalovShift_JIS-2004_TO_UTF-32BE.c Shift_JIS-2004_TO_UTF-32LE.c: ../common/Shift_JIS-2004_TO_Unicode.c 276*91e1e26aSAlexander Pyhalov $(RM) $@; $(SYMLINK) ../common/Shift_JIS-2004_TO_Unicode.c $@ 277*91e1e26aSAlexander Pyhalov 278*91e1e26aSAlexander PyhalovUTF-8_TO_Shift_JIS-2004.c \ 279*91e1e26aSAlexander PyhalovUTF-16_TO_Shift_JIS-2004.c \ 280*91e1e26aSAlexander PyhalovUTF-16BE_TO_Shift_JIS-2004.c UTF-16LE_TO_Shift_JIS-2004.c \ 281*91e1e26aSAlexander PyhalovUCS-2_TO_Shift_JIS-2004.c \ 282*91e1e26aSAlexander PyhalovUCS-2BE_TO_Shift_JIS-2004.c UCS-2LE_TO_Shift_JIS-2004.c \ 283*91e1e26aSAlexander PyhalovUTF-32_TO_Shift_JIS-2004.c \ 284*91e1e26aSAlexander PyhalovUTF-32BE_TO_Shift_JIS-2004.c UTF-32LE_TO_Shift_JIS-2004.c: ../common/Unicode_TO_Shift_JIS-2004.c 285*91e1e26aSAlexander Pyhalov $(RM) $@; $(SYMLINK) ../common/Unicode_TO_Shift_JIS-2004.c $@ 286*91e1e26aSAlexander Pyhalov 287*91e1e26aSAlexander PyhalovISO-2022-JP-2004_TO_UTF-8.c \ 288*91e1e26aSAlexander PyhalovISO-2022-JP-2004_TO_UTF-16.c \ 289*91e1e26aSAlexander PyhalovISO-2022-JP-2004_TO_UTF-16BE.c ISO-2022-JP-2004_TO_UTF-16LE.c \ 290*91e1e26aSAlexander PyhalovISO-2022-JP-2004_TO_UCS-2.c \ 291*91e1e26aSAlexander PyhalovISO-2022-JP-2004_TO_UCS-2BE.c ISO-2022-JP-2004_TO_UCS-2LE.c \ 292*91e1e26aSAlexander PyhalovISO-2022-JP-2004_TO_UTF-32.c \ 293*91e1e26aSAlexander PyhalovISO-2022-JP-2004_TO_UTF-32BE.c ISO-2022-JP-2004_TO_UTF-32LE.c: ../common/ISO-2022-JP-2004_TO_Unicode.c 294*91e1e26aSAlexander Pyhalov $(RM) $@; $(SYMLINK) ../common/ISO-2022-JP-2004_TO_Unicode.c $@ 295*91e1e26aSAlexander Pyhalov 296*91e1e26aSAlexander PyhalovUTF-8_TO_ISO-2022-JP-2004.c \ 297*91e1e26aSAlexander PyhalovUTF-16_TO_ISO-2022-JP-2004.c \ 298*91e1e26aSAlexander PyhalovUTF-16BE_TO_ISO-2022-JP-2004.c UTF-16LE_TO_ISO-2022-JP-2004.c \ 299*91e1e26aSAlexander PyhalovUCS-2_TO_ISO-2022-JP-2004.c \ 300*91e1e26aSAlexander PyhalovUCS-2BE_TO_ISO-2022-JP-2004.c UCS-2LE_TO_ISO-2022-JP-2004.c \ 301*91e1e26aSAlexander PyhalovUTF-32_TO_ISO-2022-JP-2004.c \ 302*91e1e26aSAlexander PyhalovUTF-32BE_TO_ISO-2022-JP-2004.c UTF-32LE_TO_ISO-2022-JP-2004.c: ../common/Unicode_TO_ISO-2022-JP-2004.c 303*91e1e26aSAlexander Pyhalov $(RM) $@; $(SYMLINK) ../common/Unicode_TO_ISO-2022-JP-2004.c $@ 304*91e1e26aSAlexander Pyhalov 305*91e1e26aSAlexander Pyhalovall: $(LINKS) .WAIT $(DYNOBJS) 306*91e1e26aSAlexander Pyhalov 307*91e1e26aSAlexander PyhalovCLEANFILES += $(LINKS) $(DYNOBJS) $(ALL_SOS) 308*91e1e26aSAlexander Pyhalov 309*91e1e26aSAlexander Pyhalovclobber: clean 310*91e1e26aSAlexander Pyhalov 311*91e1e26aSAlexander Pyhalov$(INSTALL_MODULES): $(DYNOBJS) 312*91e1e26aSAlexander Pyhalov for f in $(DYNOBJS); do \ 313*91e1e26aSAlexander Pyhalov fp=`echo $$f | $(SED) -e 's/_TO_/%/'`; \ 314*91e1e26aSAlexander Pyhalov echo "installing $$f as $(ICONV_DIR)/$$fp ..." ; \ 315*91e1e26aSAlexander Pyhalov $(RM) $(ICONV_DIR)/$$fp ; \ 316*91e1e26aSAlexander Pyhalov $(CP) $$f $(ICONV_DIR)/$$fp ; \ 317*91e1e26aSAlexander Pyhalov $(CHMOD) 755 $(ICONV_DIR)/$$fp ; \ 318*91e1e26aSAlexander Pyhalov done 319*91e1e26aSAlexander Pyhalov $(TOUCH) $@ 320*91e1e26aSAlexander Pyhalov 321*91e1e26aSAlexander Pyhalov$(CREATE_LINKS): $(INSTALL_MODULES) 322*91e1e26aSAlexander Pyhalov $(SYMLINK) -f EUC-JIS-2004%UTF-32.so $(ICONV_DIR)/EUC-JIS-2004%UCS-4.so 323*91e1e26aSAlexander Pyhalov $(SYMLINK) -f EUC-JIS-2004%UTF-32BE.so $(ICONV_DIR)/EUC-JIS-2004%UCS-4BE.so 324*91e1e26aSAlexander Pyhalov $(SYMLINK) -f EUC-JIS-2004%UTF-32LE.so $(ICONV_DIR)/EUC-JIS-2004%UCS-4LE.so 325*91e1e26aSAlexander Pyhalov $(SYMLINK) -f ISO-2022-JP%PCK.so $(ICONV_DIR)/ISO-2022-JP%SJIS.so 326*91e1e26aSAlexander Pyhalov $(SYMLINK) -f ISO-2022-JP-2004%UTF-32.so $(ICONV_DIR)/ISO-2022-JP-2004%UCS-4.so 327*91e1e26aSAlexander Pyhalov $(SYMLINK) -f ISO-2022-JP-2004%UTF-32BE.so $(ICONV_DIR)/ISO-2022-JP-2004%UCS-4BE.so 328*91e1e26aSAlexander Pyhalov $(SYMLINK) -f ISO-2022-JP-2004%UTF-32LE.so $(ICONV_DIR)/ISO-2022-JP-2004%UCS-4LE.so 329*91e1e26aSAlexander Pyhalov $(SYMLINK) -f ISO-2022-JP%eucJP.so $(ICONV_DIR)/JIS7%eucJP.so 330*91e1e26aSAlexander Pyhalov $(SYMLINK) -f PCK%UTF-32.so $(ICONV_DIR)/PCK%UCS-4.so 331*91e1e26aSAlexander Pyhalov $(SYMLINK) -f PCK%UTF-32BE.so $(ICONV_DIR)/PCK%UCS-4BE.so 332*91e1e26aSAlexander Pyhalov $(SYMLINK) -f PCK%UTF-32LE.so $(ICONV_DIR)/PCK%UCS-4LE.so 333*91e1e26aSAlexander Pyhalov $(SYMLINK) -f PCK%ISO-2022-JP.so $(ICONV_DIR)/SJIS%ISO-2022-JP.so 334*91e1e26aSAlexander Pyhalov $(SYMLINK) -f PCK%UTF-8.so $(ICONV_DIR)/SJIS%UTF-8.so 335*91e1e26aSAlexander Pyhalov $(SYMLINK) -f PCK%eucJP.so $(ICONV_DIR)/SJIS%eucJP.so 336*91e1e26aSAlexander Pyhalov $(SYMLINK) -f PCK%jis.so $(ICONV_DIR)/SJIS%jis.so 337*91e1e26aSAlexander Pyhalov $(SYMLINK) -f Shift_JIS-2004%UTF-32.so $(ICONV_DIR)/Shift_JIS-2004%UCS-4.so 338*91e1e26aSAlexander Pyhalov $(SYMLINK) -f Shift_JIS-2004%UTF-32BE.so $(ICONV_DIR)/Shift_JIS-2004%UCS-4BE.so 339*91e1e26aSAlexander Pyhalov $(SYMLINK) -f Shift_JIS-2004%UTF-32LE.so $(ICONV_DIR)/Shift_JIS-2004%UCS-4LE.so 340*91e1e26aSAlexander Pyhalov $(SYMLINK) -f UTF-32%EUC-JIS-2004.so $(ICONV_DIR)/UCS-4%EUC-JIS-2004.so 341*91e1e26aSAlexander Pyhalov $(SYMLINK) -f UTF-32%ISO-2022-JP-2004.so $(ICONV_DIR)/UCS-4%ISO-2022-JP-2004.so 342*91e1e26aSAlexander Pyhalov $(SYMLINK) -f UTF-32%PCK.so $(ICONV_DIR)/UCS-4%PCK.so 343*91e1e26aSAlexander Pyhalov $(SYMLINK) -f UTF-32%Shift_JIS-2004.so $(ICONV_DIR)/UCS-4%Shift_JIS-2004.so 344*91e1e26aSAlexander Pyhalov $(SYMLINK) -f UTF-32%eucJP-ms.so $(ICONV_DIR)/UCS-4%eucJP-ms.so 345*91e1e26aSAlexander Pyhalov $(SYMLINK) -f UTF-32%eucJP.so $(ICONV_DIR)/UCS-4%eucJP.so 346*91e1e26aSAlexander Pyhalov $(SYMLINK) -f UTF-32%ms932.so $(ICONV_DIR)/UCS-4%ms932.so 347*91e1e26aSAlexander Pyhalov $(SYMLINK) -f UTF-32BE%EUC-JIS-2004.so $(ICONV_DIR)/UCS-4BE%EUC-JIS-2004.so 348*91e1e26aSAlexander Pyhalov $(SYMLINK) -f UTF-32BE%ISO-2022-JP-2004.so $(ICONV_DIR)/UCS-4BE%ISO-2022-JP-2004.so 349*91e1e26aSAlexander Pyhalov $(SYMLINK) -f UTF-32BE%PCK.so $(ICONV_DIR)/UCS-4BE%PCK.so 350*91e1e26aSAlexander Pyhalov $(SYMLINK) -f UTF-32BE%Shift_JIS-2004.so $(ICONV_DIR)/UCS-4BE%Shift_JIS-2004.so 351*91e1e26aSAlexander Pyhalov $(SYMLINK) -f UTF-32BE%eucJP-ms.so $(ICONV_DIR)/UCS-4BE%eucJP-ms.so 352*91e1e26aSAlexander Pyhalov $(SYMLINK) -f UTF-32BE%eucJP.so $(ICONV_DIR)/UCS-4BE%eucJP.so 353*91e1e26aSAlexander Pyhalov $(SYMLINK) -f UTF-32BE%ms932.so $(ICONV_DIR)/UCS-4BE%ms932.so 354*91e1e26aSAlexander Pyhalov $(SYMLINK) -f UTF-32LE%EUC-JIS-2004.so $(ICONV_DIR)/UCS-4LE%EUC-JIS-2004.so 355*91e1e26aSAlexander Pyhalov $(SYMLINK) -f UTF-32LE%ISO-2022-JP-2004.so $(ICONV_DIR)/UCS-4LE%ISO-2022-JP-2004.so 356*91e1e26aSAlexander Pyhalov $(SYMLINK) -f UTF-32LE%PCK.so $(ICONV_DIR)/UCS-4LE%PCK.so 357*91e1e26aSAlexander Pyhalov $(SYMLINK) -f UTF-32LE%Shift_JIS-2004.so $(ICONV_DIR)/UCS-4LE%Shift_JIS-2004.so 358*91e1e26aSAlexander Pyhalov $(SYMLINK) -f UTF-32LE%eucJP-ms.so $(ICONV_DIR)/UCS-4LE%eucJP-ms.so 359*91e1e26aSAlexander Pyhalov $(SYMLINK) -f UTF-32LE%eucJP.so $(ICONV_DIR)/UCS-4LE%eucJP.so 360*91e1e26aSAlexander Pyhalov $(SYMLINK) -f UTF-32LE%ms932.so $(ICONV_DIR)/UCS-4LE%ms932.so 361*91e1e26aSAlexander Pyhalov $(SYMLINK) -f UTF-8%PCK.so $(ICONV_DIR)/UTF-8%SJIS.so 362*91e1e26aSAlexander Pyhalov $(SYMLINK) -f eucJP%ISO-2022-JP.so $(ICONV_DIR)/eucJP%JIS7.so 363*91e1e26aSAlexander Pyhalov $(SYMLINK) -f eucJP%PCK.so $(ICONV_DIR)/eucJP%SJIS.so 364*91e1e26aSAlexander Pyhalov $(SYMLINK) -f eucJP%UTF-32.so $(ICONV_DIR)/eucJP%UCS-4.so 365*91e1e26aSAlexander Pyhalov $(SYMLINK) -f eucJP%UTF-32BE.so $(ICONV_DIR)/eucJP%UCS-4BE.so 366*91e1e26aSAlexander Pyhalov $(SYMLINK) -f eucJP%UTF-32LE.so $(ICONV_DIR)/eucJP%UCS-4LE.so 367*91e1e26aSAlexander Pyhalov $(SYMLINK) -f eucJP-ms%UTF-32.so $(ICONV_DIR)/eucJP-ms%UCS-4.so 368*91e1e26aSAlexander Pyhalov $(SYMLINK) -f eucJP-ms%UTF-32BE.so $(ICONV_DIR)/eucJP-ms%UCS-4BE.so 369*91e1e26aSAlexander Pyhalov $(SYMLINK) -f eucJP-ms%UTF-32LE.so $(ICONV_DIR)/eucJP-ms%UCS-4LE.so 370*91e1e26aSAlexander Pyhalov $(SYMLINK) -f jis%PCK.so $(ICONV_DIR)/jis%SJIS.so 371*91e1e26aSAlexander Pyhalov $(SYMLINK) -f ms932%UTF-32.so $(ICONV_DIR)/ms932%UCS-4.so 372*91e1e26aSAlexander Pyhalov $(SYMLINK) -f ms932%UTF-32BE.so $(ICONV_DIR)/ms932%UCS-4BE.so 373*91e1e26aSAlexander Pyhalov $(SYMLINK) -f ms932%UTF-32LE.so $(ICONV_DIR)/ms932%UCS-4LE.so 374*91e1e26aSAlexander Pyhalov $(TOUCH) $@ 375*91e1e26aSAlexander Pyhalov 376*91e1e26aSAlexander Pyhalovinstall: $(ICONV_DIR) all $(INSTALL_MODULES) $(CREATE_LINKS) 377*91e1e26aSAlexander Pyhalov 378*91e1e26aSAlexander PyhalovFRC: 379