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# Copyright 2007 Sun Microsystems, Inc. All rights reserved. 22*91e1e26aSAlexander Pyhalov# Use is subject to license terms. 23*91e1e26aSAlexander Pyhalov# 24*91e1e26aSAlexander Pyhalov 25*91e1e26aSAlexander PyhalovSRCDIR= . 26*91e1e26aSAlexander Pyhalov 27*91e1e26aSAlexander Pyhalov# Real modules without .so suffix 28*91e1e26aSAlexander PyhalovMODULES_all= 29*91e1e26aSAlexander PyhalovMODULES_base_source= \ 30*91e1e26aSAlexander Pyhalov UTF-8_TO_ISO-2022-JP ISO-2022-JP_TO_UTF-8 \ 31*91e1e26aSAlexander Pyhalov UTF-8_TO_ISO-2022-JP.RFC1468 \ 32*91e1e26aSAlexander Pyhalov UTF-8-Java_TO_eucJP eucJP_TO_UTF-8-Java \ 33*91e1e26aSAlexander Pyhalov UTF-8-Java_TO_PCK PCK_TO_UTF-8-Java \ 34*91e1e26aSAlexander Pyhalov UTF-8_TO_UTF-8-ms932 UTF-8-ms932_TO_UTF-8 \ 35*91e1e26aSAlexander Pyhalov eucJP_TO_PCK PCK_TO_eucJP \ 36*91e1e26aSAlexander Pyhalov eucJP_TO_ISO-2022-JP ISO-2022-JP_TO_eucJP \ 37*91e1e26aSAlexander Pyhalov eucJP_TO_ISO-2022-JP.RFC1468 \ 38*91e1e26aSAlexander Pyhalov eucJP_TO_jis jis_TO_eucJP \ 39*91e1e26aSAlexander Pyhalov PCK_TO_ISO-2022-JP ISO-2022-JP_TO_PCK \ 40*91e1e26aSAlexander Pyhalov PCK_TO_ISO-2022-JP.RFC1468 \ 41*91e1e26aSAlexander Pyhalov PCK_TO_jis jis_TO_PCK \ 42*91e1e26aSAlexander Pyhalov $(MODULES_uni) 43*91e1e26aSAlexander Pyhalov 44*91e1e26aSAlexander PyhalovMODULES_uni= \ 45*91e1e26aSAlexander Pyhalov $(MODULES_uni_locale) \ 46*91e1e26aSAlexander Pyhalov $(MODULES_uni_ms) \ 47*91e1e26aSAlexander Pyhalov $(MODULES_uni_x0213) 48*91e1e26aSAlexander Pyhalov 49*91e1e26aSAlexander PyhalovMODULES_uni_locale= \ 50*91e1e26aSAlexander Pyhalov eucJP_TO_UTF-8 \ 51*91e1e26aSAlexander Pyhalov eucJP_TO_UTF-16 \ 52*91e1e26aSAlexander Pyhalov eucJP_TO_UTF-16BE \ 53*91e1e26aSAlexander Pyhalov eucJP_TO_UTF-16LE \ 54*91e1e26aSAlexander Pyhalov eucJP_TO_UCS-2 \ 55*91e1e26aSAlexander Pyhalov eucJP_TO_UCS-2BE \ 56*91e1e26aSAlexander Pyhalov eucJP_TO_UCS-2LE \ 57*91e1e26aSAlexander Pyhalov eucJP_TO_UTF-32 \ 58*91e1e26aSAlexander Pyhalov eucJP_TO_UTF-32BE \ 59*91e1e26aSAlexander Pyhalov eucJP_TO_UTF-32LE \ 60*91e1e26aSAlexander Pyhalov UTF-8_TO_eucJP \ 61*91e1e26aSAlexander Pyhalov UTF-16_TO_eucJP \ 62*91e1e26aSAlexander Pyhalov UTF-16BE_TO_eucJP \ 63*91e1e26aSAlexander Pyhalov UTF-16LE_TO_eucJP \ 64*91e1e26aSAlexander Pyhalov UCS-2_TO_eucJP \ 65*91e1e26aSAlexander Pyhalov UCS-2BE_TO_eucJP \ 66*91e1e26aSAlexander Pyhalov UCS-2LE_TO_eucJP \ 67*91e1e26aSAlexander Pyhalov UTF-32_TO_eucJP \ 68*91e1e26aSAlexander Pyhalov UTF-32BE_TO_eucJP \ 69*91e1e26aSAlexander Pyhalov UTF-32LE_TO_eucJP \ 70*91e1e26aSAlexander Pyhalov PCK_TO_UTF-8 \ 71*91e1e26aSAlexander Pyhalov PCK_TO_UTF-16 \ 72*91e1e26aSAlexander Pyhalov PCK_TO_UTF-16BE \ 73*91e1e26aSAlexander Pyhalov PCK_TO_UTF-16LE \ 74*91e1e26aSAlexander Pyhalov PCK_TO_UCS-2 \ 75*91e1e26aSAlexander Pyhalov PCK_TO_UCS-2BE \ 76*91e1e26aSAlexander Pyhalov PCK_TO_UCS-2LE \ 77*91e1e26aSAlexander Pyhalov PCK_TO_UTF-32 \ 78*91e1e26aSAlexander Pyhalov PCK_TO_UTF-32BE \ 79*91e1e26aSAlexander Pyhalov PCK_TO_UTF-32LE \ 80*91e1e26aSAlexander Pyhalov UTF-8_TO_PCK \ 81*91e1e26aSAlexander Pyhalov UTF-16_TO_PCK \ 82*91e1e26aSAlexander Pyhalov UTF-16BE_TO_PCK \ 83*91e1e26aSAlexander Pyhalov UTF-16LE_TO_PCK \ 84*91e1e26aSAlexander Pyhalov UCS-2_TO_PCK \ 85*91e1e26aSAlexander Pyhalov UCS-2BE_TO_PCK \ 86*91e1e26aSAlexander Pyhalov UCS-2LE_TO_PCK \ 87*91e1e26aSAlexander Pyhalov UTF-32_TO_PCK \ 88*91e1e26aSAlexander Pyhalov UTF-32BE_TO_PCK \ 89*91e1e26aSAlexander Pyhalov UTF-32LE_TO_PCK 90*91e1e26aSAlexander Pyhalov 91*91e1e26aSAlexander PyhalovMODULES_uni_ms= \ 92*91e1e26aSAlexander Pyhalov eucJP-ms_TO_UTF-8 \ 93*91e1e26aSAlexander Pyhalov eucJP-ms_TO_UTF-16 \ 94*91e1e26aSAlexander Pyhalov eucJP-ms_TO_UTF-16BE \ 95*91e1e26aSAlexander Pyhalov eucJP-ms_TO_UTF-16LE \ 96*91e1e26aSAlexander Pyhalov eucJP-ms_TO_UCS-2 \ 97*91e1e26aSAlexander Pyhalov eucJP-ms_TO_UCS-2BE \ 98*91e1e26aSAlexander Pyhalov eucJP-ms_TO_UCS-2LE \ 99*91e1e26aSAlexander Pyhalov eucJP-ms_TO_UTF-32 \ 100*91e1e26aSAlexander Pyhalov eucJP-ms_TO_UTF-32BE \ 101*91e1e26aSAlexander Pyhalov eucJP-ms_TO_UTF-32LE \ 102*91e1e26aSAlexander Pyhalov UTF-8_TO_eucJP-ms \ 103*91e1e26aSAlexander Pyhalov UTF-16_TO_eucJP-ms \ 104*91e1e26aSAlexander Pyhalov UTF-16BE_TO_eucJP-ms \ 105*91e1e26aSAlexander Pyhalov UTF-16LE_TO_eucJP-ms \ 106*91e1e26aSAlexander Pyhalov UCS-2_TO_eucJP-ms \ 107*91e1e26aSAlexander Pyhalov UCS-2BE_TO_eucJP-ms \ 108*91e1e26aSAlexander Pyhalov UCS-2LE_TO_eucJP-ms \ 109*91e1e26aSAlexander Pyhalov UTF-32_TO_eucJP-ms \ 110*91e1e26aSAlexander Pyhalov UTF-32BE_TO_eucJP-ms \ 111*91e1e26aSAlexander Pyhalov UTF-32LE_TO_eucJP-ms \ 112*91e1e26aSAlexander Pyhalov ms932_TO_UTF-8 \ 113*91e1e26aSAlexander Pyhalov ms932_TO_UTF-16 \ 114*91e1e26aSAlexander Pyhalov ms932_TO_UTF-16BE \ 115*91e1e26aSAlexander Pyhalov ms932_TO_UTF-16LE \ 116*91e1e26aSAlexander Pyhalov ms932_TO_UCS-2 \ 117*91e1e26aSAlexander Pyhalov ms932_TO_UCS-2BE \ 118*91e1e26aSAlexander Pyhalov ms932_TO_UCS-2LE \ 119*91e1e26aSAlexander Pyhalov ms932_TO_UTF-32 \ 120*91e1e26aSAlexander Pyhalov ms932_TO_UTF-32BE \ 121*91e1e26aSAlexander Pyhalov ms932_TO_UTF-32LE \ 122*91e1e26aSAlexander Pyhalov UTF-8_TO_ms932 \ 123*91e1e26aSAlexander Pyhalov UTF-16_TO_ms932 \ 124*91e1e26aSAlexander Pyhalov UTF-16BE_TO_ms932 \ 125*91e1e26aSAlexander Pyhalov UTF-16LE_TO_ms932 \ 126*91e1e26aSAlexander Pyhalov UCS-2_TO_ms932 \ 127*91e1e26aSAlexander Pyhalov UCS-2BE_TO_ms932 \ 128*91e1e26aSAlexander Pyhalov UCS-2LE_TO_ms932 \ 129*91e1e26aSAlexander Pyhalov UTF-32_TO_ms932 \ 130*91e1e26aSAlexander Pyhalov UTF-32BE_TO_ms932 \ 131*91e1e26aSAlexander Pyhalov UTF-32LE_TO_ms932 132*91e1e26aSAlexander Pyhalov 133*91e1e26aSAlexander PyhalovMODULES_uni_x0213= \ 134*91e1e26aSAlexander Pyhalov EUC-JIS-2004_TO_UTF-8 \ 135*91e1e26aSAlexander Pyhalov EUC-JIS-2004_TO_UTF-16 \ 136*91e1e26aSAlexander Pyhalov EUC-JIS-2004_TO_UTF-16BE \ 137*91e1e26aSAlexander Pyhalov EUC-JIS-2004_TO_UTF-16LE \ 138*91e1e26aSAlexander Pyhalov EUC-JIS-2004_TO_UCS-2 \ 139*91e1e26aSAlexander Pyhalov EUC-JIS-2004_TO_UCS-2BE \ 140*91e1e26aSAlexander Pyhalov EUC-JIS-2004_TO_UCS-2LE \ 141*91e1e26aSAlexander Pyhalov EUC-JIS-2004_TO_UTF-32 \ 142*91e1e26aSAlexander Pyhalov EUC-JIS-2004_TO_UTF-32BE \ 143*91e1e26aSAlexander Pyhalov EUC-JIS-2004_TO_UTF-32LE \ 144*91e1e26aSAlexander Pyhalov UTF-8_TO_EUC-JIS-2004 \ 145*91e1e26aSAlexander Pyhalov UTF-16_TO_EUC-JIS-2004 \ 146*91e1e26aSAlexander Pyhalov UTF-16BE_TO_EUC-JIS-2004 \ 147*91e1e26aSAlexander Pyhalov UTF-16LE_TO_EUC-JIS-2004 \ 148*91e1e26aSAlexander Pyhalov UCS-2_TO_EUC-JIS-2004 \ 149*91e1e26aSAlexander Pyhalov UCS-2BE_TO_EUC-JIS-2004 \ 150*91e1e26aSAlexander Pyhalov UCS-2LE_TO_EUC-JIS-2004 \ 151*91e1e26aSAlexander Pyhalov UTF-32_TO_EUC-JIS-2004 \ 152*91e1e26aSAlexander Pyhalov UTF-32BE_TO_EUC-JIS-2004 \ 153*91e1e26aSAlexander Pyhalov UTF-32LE_TO_EUC-JIS-2004 \ 154*91e1e26aSAlexander Pyhalov Shift_JIS-2004_TO_UTF-8 \ 155*91e1e26aSAlexander Pyhalov Shift_JIS-2004_TO_UTF-16 \ 156*91e1e26aSAlexander Pyhalov Shift_JIS-2004_TO_UTF-16BE \ 157*91e1e26aSAlexander Pyhalov Shift_JIS-2004_TO_UTF-16LE \ 158*91e1e26aSAlexander Pyhalov Shift_JIS-2004_TO_UCS-2 \ 159*91e1e26aSAlexander Pyhalov Shift_JIS-2004_TO_UCS-2BE \ 160*91e1e26aSAlexander Pyhalov Shift_JIS-2004_TO_UCS-2LE \ 161*91e1e26aSAlexander Pyhalov Shift_JIS-2004_TO_UTF-32 \ 162*91e1e26aSAlexander Pyhalov Shift_JIS-2004_TO_UTF-32BE \ 163*91e1e26aSAlexander Pyhalov Shift_JIS-2004_TO_UTF-32LE \ 164*91e1e26aSAlexander Pyhalov UTF-8_TO_Shift_JIS-2004 \ 165*91e1e26aSAlexander Pyhalov UTF-16_TO_Shift_JIS-2004 \ 166*91e1e26aSAlexander Pyhalov UTF-16BE_TO_Shift_JIS-2004 \ 167*91e1e26aSAlexander Pyhalov UTF-16LE_TO_Shift_JIS-2004 \ 168*91e1e26aSAlexander Pyhalov UCS-2_TO_Shift_JIS-2004 \ 169*91e1e26aSAlexander Pyhalov UCS-2BE_TO_Shift_JIS-2004 \ 170*91e1e26aSAlexander Pyhalov UCS-2LE_TO_Shift_JIS-2004 \ 171*91e1e26aSAlexander Pyhalov UTF-32_TO_Shift_JIS-2004 \ 172*91e1e26aSAlexander Pyhalov UTF-32BE_TO_Shift_JIS-2004 \ 173*91e1e26aSAlexander Pyhalov UTF-32LE_TO_Shift_JIS-2004 \ 174*91e1e26aSAlexander Pyhalov ISO-2022-JP-2004_TO_UTF-8 \ 175*91e1e26aSAlexander Pyhalov ISO-2022-JP-2004_TO_UTF-16 \ 176*91e1e26aSAlexander Pyhalov ISO-2022-JP-2004_TO_UTF-16BE \ 177*91e1e26aSAlexander Pyhalov ISO-2022-JP-2004_TO_UTF-16LE \ 178*91e1e26aSAlexander Pyhalov ISO-2022-JP-2004_TO_UCS-2 \ 179*91e1e26aSAlexander Pyhalov ISO-2022-JP-2004_TO_UCS-2BE \ 180*91e1e26aSAlexander Pyhalov ISO-2022-JP-2004_TO_UCS-2LE \ 181*91e1e26aSAlexander Pyhalov ISO-2022-JP-2004_TO_UTF-32 \ 182*91e1e26aSAlexander Pyhalov ISO-2022-JP-2004_TO_UTF-32BE \ 183*91e1e26aSAlexander Pyhalov ISO-2022-JP-2004_TO_UTF-32LE \ 184*91e1e26aSAlexander Pyhalov UTF-8_TO_ISO-2022-JP-2004 \ 185*91e1e26aSAlexander Pyhalov UTF-16_TO_ISO-2022-JP-2004 \ 186*91e1e26aSAlexander Pyhalov UTF-16BE_TO_ISO-2022-JP-2004 \ 187*91e1e26aSAlexander Pyhalov UTF-16LE_TO_ISO-2022-JP-2004 \ 188*91e1e26aSAlexander Pyhalov UCS-2_TO_ISO-2022-JP-2004 \ 189*91e1e26aSAlexander Pyhalov UCS-2BE_TO_ISO-2022-JP-2004 \ 190*91e1e26aSAlexander Pyhalov UCS-2LE_TO_ISO-2022-JP-2004 \ 191*91e1e26aSAlexander Pyhalov UTF-32_TO_ISO-2022-JP-2004 \ 192*91e1e26aSAlexander Pyhalov UTF-32BE_TO_ISO-2022-JP-2004 \ 193*91e1e26aSAlexander Pyhalov UTF-32LE_TO_ISO-2022-JP-2004 194*91e1e26aSAlexander Pyhalov 195*91e1e26aSAlexander PyhalovMODULES_jfp_source= 196*91e1e26aSAlexander Pyhalov 197*91e1e26aSAlexander PyhalovMODULES32_base_source= $(MODULES_base_source) 198*91e1e26aSAlexander PyhalovMODULES64_base_source= $(MODULES_base_source) 199*91e1e26aSAlexander PyhalovMODULES32_jfp_source= $(MODULES_jfp_source) 200*91e1e26aSAlexander PyhalovMODULES64_jfp_source= $(MODULES_jfp_source) 201*91e1e26aSAlexander PyhalovMODULES= $(MODULES_all) $(MODULES32_base_source) $(MODULES32_jfp_source) 202*91e1e26aSAlexander PyhalovMODULES64= $(MODULES64_base_source) $(MODULES64_jfp_source) 203*91e1e26aSAlexander Pyhalov 204*91e1e26aSAlexander Pyhalov# extra macro definitions (-D) and extra include file search paths (-I) 205*91e1e26aSAlexander Pyhalov 206*91e1e26aSAlexander PyhalovICONV_DEFS= 207*91e1e26aSAlexander Pyhalov 208*91e1e26aSAlexander PyhaloveucJP_TO_UTF-8-Java.o \ 209*91e1e26aSAlexander PyhalovUTF-8-Java_TO_eucJP.o \ 210*91e1e26aSAlexander PyhalovPCK_TO_UTF-8-Java.o \ 211*91e1e26aSAlexander PyhalovUTF-8-Java_TO_PCK.o \ 212*91e1e26aSAlexander Pyhalov := ICONV_DEFS += -DJAVA_CONV_COMPAT 213*91e1e26aSAlexander Pyhalov 214*91e1e26aSAlexander Pyhalov$(MODULES_uni_ms:%=%.o) \ 215*91e1e26aSAlexander Pyhalov := ICONV_DEFS += -DJFP_ICONV_MS932 216*91e1e26aSAlexander Pyhalov 217*91e1e26aSAlexander PyhalovUTF-8_TO_ISO-2022-JP.RFC1468.o \ 218*91e1e26aSAlexander PyhaloveucJP_TO_ISO-2022-JP.RFC1468.o \ 219*91e1e26aSAlexander PyhalovPCK_TO_ISO-2022-JP.RFC1468.o \ 220*91e1e26aSAlexander Pyhalov := ICONV_DEFS += -DRFC1468_MODE 221*91e1e26aSAlexander Pyhalov 222*91e1e26aSAlexander PyhalovUTF-16_TO_eucJP.o \ 223*91e1e26aSAlexander PyhalovUTF-16_TO_PCK.o \ 224*91e1e26aSAlexander PyhalovUTF-16_TO_eucJP-ms.o \ 225*91e1e26aSAlexander PyhalovUTF-16_TO_ms932.o \ 226*91e1e26aSAlexander PyhalovUTF-16_TO_EUC-JIS-2004.o \ 227*91e1e26aSAlexander PyhalovUTF-16_TO_Shift_JIS-2004.o \ 228*91e1e26aSAlexander PyhalovUTF-16_TO_ISO-2022-JP-2004.o \ 229*91e1e26aSAlexander Pyhalov := ICONV_DEFS += -DJFP_ICONV_FROMCODE_UTF16 230*91e1e26aSAlexander Pyhalov 231*91e1e26aSAlexander PyhalovUTF-16BE_TO_eucJP.o \ 232*91e1e26aSAlexander PyhalovUTF-16BE_TO_PCK.o \ 233*91e1e26aSAlexander PyhalovUTF-16BE_TO_eucJP-ms.o \ 234*91e1e26aSAlexander PyhalovUTF-16BE_TO_ms932.o \ 235*91e1e26aSAlexander PyhalovUTF-16BE_TO_EUC-JIS-2004.o \ 236*91e1e26aSAlexander PyhalovUTF-16BE_TO_Shift_JIS-2004.o \ 237*91e1e26aSAlexander PyhalovUTF-16BE_TO_ISO-2022-JP-2004.o \ 238*91e1e26aSAlexander Pyhalov := ICONV_DEFS += -DJFP_ICONV_FROMCODE_UTF16BE 239*91e1e26aSAlexander Pyhalov 240*91e1e26aSAlexander PyhalovUTF-16LE_TO_eucJP.o \ 241*91e1e26aSAlexander PyhalovUTF-16LE_TO_PCK.o \ 242*91e1e26aSAlexander PyhalovUTF-16LE_TO_eucJP-ms.o \ 243*91e1e26aSAlexander PyhalovUTF-16LE_TO_ms932.o \ 244*91e1e26aSAlexander PyhalovUTF-16LE_TO_EUC-JIS-2004.o \ 245*91e1e26aSAlexander PyhalovUTF-16LE_TO_Shift_JIS-2004.o \ 246*91e1e26aSAlexander PyhalovUTF-16LE_TO_ISO-2022-JP-2004.o \ 247*91e1e26aSAlexander Pyhalov := ICONV_DEFS += -DJFP_ICONV_FROMCODE_UTF16LE 248*91e1e26aSAlexander Pyhalov 249*91e1e26aSAlexander PyhalovUCS-2_TO_eucJP.o \ 250*91e1e26aSAlexander PyhalovUCS-2_TO_PCK.o \ 251*91e1e26aSAlexander PyhalovUCS-2_TO_eucJP-ms.o \ 252*91e1e26aSAlexander PyhalovUCS-2_TO_ms932.o \ 253*91e1e26aSAlexander PyhalovUCS-2_TO_EUC-JIS-2004.o \ 254*91e1e26aSAlexander PyhalovUCS-2_TO_Shift_JIS-2004.o \ 255*91e1e26aSAlexander PyhalovUCS-2_TO_ISO-2022-JP-2004.o \ 256*91e1e26aSAlexander Pyhalov := ICONV_DEFS += -DJFP_ICONV_FROMCODE_UCS2 257*91e1e26aSAlexander Pyhalov 258*91e1e26aSAlexander PyhalovUCS-2BE_TO_eucJP.o \ 259*91e1e26aSAlexander PyhalovUCS-2BE_TO_PCK.o \ 260*91e1e26aSAlexander PyhalovUCS-2BE_TO_eucJP-ms.o \ 261*91e1e26aSAlexander PyhalovUCS-2BE_TO_ms932.o \ 262*91e1e26aSAlexander PyhalovUCS-2BE_TO_EUC-JIS-2004.o \ 263*91e1e26aSAlexander PyhalovUCS-2BE_TO_Shift_JIS-2004.o \ 264*91e1e26aSAlexander PyhalovUCS-2BE_TO_ISO-2022-JP-2004.o \ 265*91e1e26aSAlexander Pyhalov := ICONV_DEFS += -DJFP_ICONV_FROMCODE_UCS2BE 266*91e1e26aSAlexander Pyhalov 267*91e1e26aSAlexander PyhalovUCS-2LE_TO_eucJP.o \ 268*91e1e26aSAlexander PyhalovUCS-2LE_TO_PCK.o \ 269*91e1e26aSAlexander PyhalovUCS-2LE_TO_eucJP-ms.o \ 270*91e1e26aSAlexander PyhalovUCS-2LE_TO_ms932.o \ 271*91e1e26aSAlexander PyhalovUCS-2LE_TO_EUC-JIS-2004.o \ 272*91e1e26aSAlexander PyhalovUCS-2LE_TO_Shift_JIS-2004.o \ 273*91e1e26aSAlexander PyhalovUCS-2LE_TO_ISO-2022-JP-2004.o \ 274*91e1e26aSAlexander Pyhalov := ICONV_DEFS += -DJFP_ICONV_FROMCODE_UCS2LE 275*91e1e26aSAlexander Pyhalov 276*91e1e26aSAlexander PyhalovUTF-32_TO_eucJP.o \ 277*91e1e26aSAlexander PyhalovUTF-32_TO_PCK.o \ 278*91e1e26aSAlexander PyhalovUTF-32_TO_eucJP-ms.o \ 279*91e1e26aSAlexander PyhalovUTF-32_TO_ms932.o \ 280*91e1e26aSAlexander PyhalovUTF-32_TO_EUC-JIS-2004.o \ 281*91e1e26aSAlexander PyhalovUTF-32_TO_Shift_JIS-2004.o \ 282*91e1e26aSAlexander PyhalovUTF-32_TO_ISO-2022-JP-2004.o \ 283*91e1e26aSAlexander Pyhalov := ICONV_DEFS += -DJFP_ICONV_FROMCODE_UTF32 284*91e1e26aSAlexander Pyhalov 285*91e1e26aSAlexander PyhalovUTF-32BE_TO_eucJP.o \ 286*91e1e26aSAlexander PyhalovUTF-32BE_TO_PCK.o \ 287*91e1e26aSAlexander PyhalovUTF-32BE_TO_eucJP-ms.o \ 288*91e1e26aSAlexander PyhalovUTF-32BE_TO_ms932.o \ 289*91e1e26aSAlexander PyhalovUTF-32BE_TO_EUC-JIS-2004.o \ 290*91e1e26aSAlexander PyhalovUTF-32BE_TO_Shift_JIS-2004.o \ 291*91e1e26aSAlexander PyhalovUTF-32BE_TO_ISO-2022-JP-2004.o \ 292*91e1e26aSAlexander Pyhalov := ICONV_DEFS += -DJFP_ICONV_FROMCODE_UTF32BE 293*91e1e26aSAlexander Pyhalov 294*91e1e26aSAlexander PyhalovUTF-32LE_TO_eucJP.o \ 295*91e1e26aSAlexander PyhalovUTF-32LE_TO_PCK.o \ 296*91e1e26aSAlexander PyhalovUTF-32LE_TO_eucJP-ms.o \ 297*91e1e26aSAlexander PyhalovUTF-32LE_TO_ms932.o \ 298*91e1e26aSAlexander PyhalovUTF-32LE_TO_EUC-JIS-2004.o \ 299*91e1e26aSAlexander PyhalovUTF-32LE_TO_Shift_JIS-2004.o \ 300*91e1e26aSAlexander PyhalovUTF-32LE_TO_ISO-2022-JP-2004.o \ 301*91e1e26aSAlexander Pyhalov := ICONV_DEFS += -DJFP_ICONV_FROMCODE_UTF32LE 302*91e1e26aSAlexander Pyhalov 303*91e1e26aSAlexander PyhaloveucJP_TO_UTF-16.o \ 304*91e1e26aSAlexander PyhalovPCK_TO_UTF-16.o \ 305*91e1e26aSAlexander PyhaloveucJP-ms_TO_UTF-16.o \ 306*91e1e26aSAlexander Pyhalovms932_TO_UTF-16.o \ 307*91e1e26aSAlexander PyhalovEUC-JIS-2004_TO_UTF-16.o \ 308*91e1e26aSAlexander PyhalovShift_JIS-2004_TO_UTF-16.o \ 309*91e1e26aSAlexander PyhalovISO-2022-JP-2004_TO_UTF-16.o \ 310*91e1e26aSAlexander Pyhalov := ICONV_DEFS += -DJFP_ICONV_TOCODE_UTF16 311*91e1e26aSAlexander Pyhalov 312*91e1e26aSAlexander PyhaloveucJP_TO_UTF-16BE.o \ 313*91e1e26aSAlexander PyhalovPCK_TO_UTF-16BE.o \ 314*91e1e26aSAlexander PyhaloveucJP-ms_TO_UTF-16BE.o \ 315*91e1e26aSAlexander Pyhalovms932_TO_UTF-16BE.o \ 316*91e1e26aSAlexander PyhalovEUC-JIS-2004_TO_UTF-16BE.o \ 317*91e1e26aSAlexander PyhalovShift_JIS-2004_TO_UTF-16BE.o \ 318*91e1e26aSAlexander PyhalovISO-2022-JP-2004_TO_UTF-16BE.o \ 319*91e1e26aSAlexander Pyhalov := ICONV_DEFS += -DJFP_ICONV_TOCODE_UTF16BE 320*91e1e26aSAlexander Pyhalov 321*91e1e26aSAlexander PyhaloveucJP_TO_UTF-16LE.o \ 322*91e1e26aSAlexander PyhalovPCK_TO_UTF-16LE.o \ 323*91e1e26aSAlexander PyhaloveucJP-ms_TO_UTF-16LE.o \ 324*91e1e26aSAlexander Pyhalovms932_TO_UTF-16LE.o \ 325*91e1e26aSAlexander PyhalovEUC-JIS-2004_TO_UTF-16LE.o \ 326*91e1e26aSAlexander PyhalovShift_JIS-2004_TO_UTF-16LE.o \ 327*91e1e26aSAlexander PyhalovISO-2022-JP-2004_TO_UTF-16LE.o \ 328*91e1e26aSAlexander Pyhalov := ICONV_DEFS += -DJFP_ICONV_TOCODE_UTF16LE 329*91e1e26aSAlexander Pyhalov 330*91e1e26aSAlexander PyhaloveucJP_TO_UCS-2.o \ 331*91e1e26aSAlexander PyhalovPCK_TO_UCS-2.o \ 332*91e1e26aSAlexander PyhaloveucJP-ms_TO_UCS-2.o \ 333*91e1e26aSAlexander Pyhalovms932_TO_UCS-2.o \ 334*91e1e26aSAlexander PyhalovEUC-JIS-2004_TO_UCS-2.o \ 335*91e1e26aSAlexander PyhalovShift_JIS-2004_TO_UCS-2.o \ 336*91e1e26aSAlexander PyhalovISO-2022-JP-2004_TO_UCS-2.o \ 337*91e1e26aSAlexander Pyhalov := ICONV_DEFS += -DJFP_ICONV_TOCODE_UCS2 338*91e1e26aSAlexander Pyhalov 339*91e1e26aSAlexander PyhaloveucJP_TO_UCS-2BE.o \ 340*91e1e26aSAlexander PyhalovPCK_TO_UCS-2BE.o \ 341*91e1e26aSAlexander PyhaloveucJP-ms_TO_UCS-2BE.o \ 342*91e1e26aSAlexander Pyhalovms932_TO_UCS-2BE.o \ 343*91e1e26aSAlexander PyhalovEUC-JIS-2004_TO_UCS-2BE.o \ 344*91e1e26aSAlexander PyhalovShift_JIS-2004_TO_UCS-2BE.o \ 345*91e1e26aSAlexander PyhalovISO-2022-JP-2004_TO_UCS-2BE.o \ 346*91e1e26aSAlexander Pyhalov := ICONV_DEFS += -DJFP_ICONV_TOCODE_UCS2BE 347*91e1e26aSAlexander Pyhalov 348*91e1e26aSAlexander PyhaloveucJP_TO_UCS-2LE.o \ 349*91e1e26aSAlexander PyhalovPCK_TO_UCS-2LE.o \ 350*91e1e26aSAlexander PyhaloveucJP-ms_TO_UCS-2LE.o \ 351*91e1e26aSAlexander Pyhalovms932_TO_UCS-2LE.o \ 352*91e1e26aSAlexander PyhalovEUC-JIS-2004_TO_UCS-2LE.o \ 353*91e1e26aSAlexander PyhalovShift_JIS-2004_TO_UCS-2LE.o \ 354*91e1e26aSAlexander PyhalovISO-2022-JP-2004_TO_UCS-2LE.o \ 355*91e1e26aSAlexander Pyhalov := ICONV_DEFS += -DJFP_ICONV_TOCODE_UCS2LE 356*91e1e26aSAlexander Pyhalov 357*91e1e26aSAlexander PyhaloveucJP_TO_UTF-32.o \ 358*91e1e26aSAlexander PyhalovPCK_TO_UTF-32.o \ 359*91e1e26aSAlexander PyhaloveucJP-ms_TO_UTF-32.o \ 360*91e1e26aSAlexander Pyhalovms932_TO_UTF-32.o \ 361*91e1e26aSAlexander PyhalovEUC-JIS-2004_TO_UTF-32.o \ 362*91e1e26aSAlexander PyhalovShift_JIS-2004_TO_UTF-32.o \ 363*91e1e26aSAlexander PyhalovISO-2022-JP-2004_TO_UTF-32.o \ 364*91e1e26aSAlexander Pyhalov := ICONV_DEFS += -DJFP_ICONV_TOCODE_UTF32 365*91e1e26aSAlexander Pyhalov 366*91e1e26aSAlexander PyhaloveucJP_TO_UTF-32BE.o \ 367*91e1e26aSAlexander PyhalovPCK_TO_UTF-32BE.o \ 368*91e1e26aSAlexander PyhaloveucJP-ms_TO_UTF-32BE.o \ 369*91e1e26aSAlexander Pyhalovms932_TO_UTF-32BE.o \ 370*91e1e26aSAlexander PyhalovEUC-JIS-2004_TO_UTF-32BE.o \ 371*91e1e26aSAlexander PyhalovShift_JIS-2004_TO_UTF-32BE.o \ 372*91e1e26aSAlexander PyhalovISO-2022-JP-2004_TO_UTF-32BE.o \ 373*91e1e26aSAlexander Pyhalov := ICONV_DEFS += -DJFP_ICONV_TOCODE_UTF32BE 374*91e1e26aSAlexander Pyhalov 375*91e1e26aSAlexander PyhaloveucJP_TO_UTF-32LE.o \ 376*91e1e26aSAlexander PyhalovPCK_TO_UTF-32LE.o \ 377*91e1e26aSAlexander PyhaloveucJP-ms_TO_UTF-32LE.o \ 378*91e1e26aSAlexander Pyhalovms932_TO_UTF-32LE.o \ 379*91e1e26aSAlexander PyhalovEUC-JIS-2004_TO_UTF-32LE.o \ 380*91e1e26aSAlexander PyhalovShift_JIS-2004_TO_UTF-32LE.o \ 381*91e1e26aSAlexander PyhalovISO-2022-JP-2004_TO_UTF-32LE.o \ 382*91e1e26aSAlexander Pyhalov := ICONV_DEFS += -DJFP_ICONV_TOCODE_UTF32LE 383*91e1e26aSAlexander Pyhalov 384*91e1e26aSAlexander PyhalovDYNOBJS= $(MODULES:%=%.so) 385*91e1e26aSAlexander PyhalovDYNOBJS64= $(MODULES64:%=%.so) 386*91e1e26aSAlexander PyhalovOBJECTS= $(MODULES:%=%.o) 387*91e1e26aSAlexander PyhalovSRCS= $(MODULES:%=%.c) 388*91e1e26aSAlexander Pyhalov 389*91e1e26aSAlexander PyhalovLDFLAGS += $(GSHARED) 390*91e1e26aSAlexander PyhalovCFLAGS += -D_REENTRANT $(ICONV_DEFS) -I. $(XREGSFLAG) 391*91e1e26aSAlexander PyhalovCFLAGS64 += -D_REENTRANT $(ICONV_DEFS) -I. $(XREGSFLAG64) 392*91e1e26aSAlexander PyhalovFILEMODE = 755 393*91e1e26aSAlexander Pyhalov 394*91e1e26aSAlexander Pyhalov 395*91e1e26aSAlexander Pyhalov# jfp_iconv_unicode.h contains definition of static functions 396*91e1e26aSAlexander Pyhalov# which are used by some modules, but not all functions are used 397*91e1e26aSAlexander Pyhalov# by all modules 398*91e1e26aSAlexander PyhalovCERRWARN += -_gcc=-Wno-unused-function 399