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