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