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