xref: /titanic_51/usr/src/lib/iconv_modules/ko/Makefile.com (revision 91e1e26ac6a73ce959289cf7d3d96c4baedbe0b8)
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 2006 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)/lib/iconv_modules/Makefile.iconv
27*91e1e26aSAlexander Pyhalov
28*91e1e26aSAlexander Pyhalovinstall		:=	TARGET = install
29*91e1e26aSAlexander Pyhalovall		:=	TARGET = all
30*91e1e26aSAlexander Pyhalovlint		:=	TARGET = lint
31*91e1e26aSAlexander Pyhalovclean		:=	TARGET = clean
32*91e1e26aSAlexander Pyhalovclobber		:=	TARGET = clobber
33*91e1e26aSAlexander Pyhalov
34*91e1e26aSAlexander Pyhalovdummy:	all
35*91e1e26aSAlexander Pyhalov
36*91e1e26aSAlexander PyhalovCOMMON  = ../common/
37*91e1e26aSAlexander PyhalovICONV_COMMON  = ../../common/
38*91e1e26aSAlexander Pyhalov
39*91e1e26aSAlexander PyhalovSRCS    = byte_to_comb.c comb_to_byte.c \
40*91e1e26aSAlexander Pyhalov	euc_to_iso2022-7.c iso2022-7_to_euc.c \
41*91e1e26aSAlexander Pyhalov	euc_to_johap92.c johap92_to_euc.c \
42*91e1e26aSAlexander Pyhalov	euc_to_johap.c johap_to_euc.c \
43*91e1e26aSAlexander Pyhalov	euc_to_nbyte.c nbyte_to_euc.c \
44*91e1e26aSAlexander Pyhalov	uhang_to_utf_sub.c uhang_to_utf_main.c \
45*91e1e26aSAlexander Pyhalov	utf_to_uhang_sub.c utf_to_uhang_main.c \
46*91e1e26aSAlexander Pyhalov	unihan_to_UCS_sub.c unihan_to_UCS_main.c \
47*91e1e26aSAlexander Pyhalov	ucs_to_unihan.c \
48*91e1e26aSAlexander Pyhalov	\
49*91e1e26aSAlexander Pyhalov	euc_to_utf_main.c \
50*91e1e26aSAlexander Pyhalov	utf_to_euc_main.c \
51*91e1e26aSAlexander Pyhalov	njh_to_utf_main.c \
52*91e1e26aSAlexander Pyhalov	utf_to_njh_main.c \
53*91e1e26aSAlexander Pyhalov	ojh_to_utf_main.c \
54*91e1e26aSAlexander Pyhalov	utf_to_ojh_main.c \
55*91e1e26aSAlexander Pyhalov	iso_to_utf_main.c \
56*91e1e26aSAlexander Pyhalov	utf_to_iso_main.c
57*91e1e26aSAlexander Pyhalov
58*91e1e26aSAlexander Pyhalov
59*91e1e26aSAlexander PyhalovE2I     = ko_KR-euc%ko_KR-iso2022-7.so
60*91e1e26aSAlexander PyhalovI2E     = ko_KR-iso2022-7%ko_KR-euc.so
61*91e1e26aSAlexander PyhalovE2J92   = ko_KR-euc%ko_KR-johap92.so
62*91e1e26aSAlexander PyhalovJ922E   = ko_KR-johap92%ko_KR-euc.so
63*91e1e26aSAlexander PyhalovE2J     = ko_KR-euc%ko_KR-johap.so
64*91e1e26aSAlexander PyhalovJ2E     = ko_KR-johap%ko_KR-euc.so
65*91e1e26aSAlexander PyhalovE2NB    = ko_KR-euc%ko_KR-nbyte.so
66*91e1e26aSAlexander PyhalovNB2E    = ko_KR-nbyte%ko_KR-euc.so
67*91e1e26aSAlexander PyhalovU2UH    = ko_KR-UTF-8%ko_KR-cp949.so
68*91e1e26aSAlexander PyhalovUH2U    = ko_KR-cp949%ko_KR-UTF-8.so
69*91e1e26aSAlexander Pyhalov
70*91e1e26aSAlexander PyhalovUCS2LE2UH = UCS-2LE%ko_KR-cp949.so
71*91e1e26aSAlexander PyhalovUH2UCS2LE = ko_KR-cp949%UCS-2LE.so
72*91e1e26aSAlexander PyhalovUCS2BE2UH = UCS-2BE%ko_KR-cp949.so
73*91e1e26aSAlexander PyhalovUH2UCS2BE = ko_KR-cp949%UCS-2BE.so
74*91e1e26aSAlexander Pyhalov
75*91e1e26aSAlexander PyhalovE2U     = ko_KR-euc%ko_KR-UTF-8.so
76*91e1e26aSAlexander PyhalovU2E     = ko_KR-UTF-8%ko_KR-euc.so
77*91e1e26aSAlexander PyhalovN2U     = ko_KR-johap92%ko_KR-UTF-8.so
78*91e1e26aSAlexander PyhalovU2N     = ko_KR-UTF-8%ko_KR-johap92.so
79*91e1e26aSAlexander PyhalovO2U     = ko_KR-johap%ko_KR-UTF-8.so
80*91e1e26aSAlexander PyhalovU2O     = ko_KR-UTF-8%ko_KR-johap.so
81*91e1e26aSAlexander PyhalovI2U     = ko_KR-iso2022-7%ko_KR-UTF-8.so
82*91e1e26aSAlexander PyhalovU2I     = ko_KR-UTF-8%ko_KR-iso2022-7.so
83*91e1e26aSAlexander Pyhalov
84*91e1e26aSAlexander PyhalovC9332U  = ko_KR-cp933%ko_KR-UTF-8.so
85*91e1e26aSAlexander PyhalovU2C933  = ko_KR-UTF-8%ko_KR-cp933.so
86*91e1e26aSAlexander Pyhalov
87*91e1e26aSAlexander PyhalovALL_SOS   = $(E2I) $(I2E) $(E2J92) $(J922E) $(E2J) $(J2E) $(E2NB) $(NB2E) \
88*91e1e26aSAlexander Pyhalov	$(U2UH) $(UH2U) $(UH2UCS2LE) $(UCS2LE2UH) $(UH2UCS2BE) $(UCS2BE2UH) \
89*91e1e26aSAlexander Pyhalov	$(U2E) $(E2U) $(N2U) $(U2N) $(O2U) $(U2O) $(I2U) $(U2I) \
90*91e1e26aSAlexander Pyhalov	$(C9332U) $(U2C933)
91*91e1e26aSAlexander Pyhalov
92*91e1e26aSAlexander PyhalovLDFLAGS = $(DYNFLAGS) $(LDLIBS) $(CFLAG_OPT)
93*91e1e26aSAlexander PyhalovCFLAGS += -I$(ICONV_COMMON) -I../inc
94*91e1e26aSAlexander Pyhalov
95*91e1e26aSAlexander PyhalovLINK_TARGETS = $(U2UH) $(C9332U) $(UH2U) $(E2U) $(I2U) $(O2U) $(N2U) \
96*91e1e26aSAlexander Pyhalov	$(E2I) $(E2J) $(E2J92) $(E2NB) $(I2E) $(J2E) $(J922E) $(NVBE) \
97*91e1e26aSAlexander Pyhalov	$(UCS2BE2UH) $(U2LE2UH) $(U2C933) $(U2E) $(U2I) $(U2O) $(U2N) \
98*91e1e26aSAlexander Pyhalov	$(UH2UCS2BE) $(UH2UCS2LE)
99*91e1e26aSAlexander Pyhalov
100*91e1e26aSAlexander Pyhalovall: $(ALL_SOS)
101*91e1e26aSAlexander Pyhalov
102*91e1e26aSAlexander Pyhalov#
103*91e1e26aSAlexander Pyhalov# libraries
104*91e1e26aSAlexander Pyhalov#
105*91e1e26aSAlexander Pyhalov$(E2I): euc_to_iso2022-7.o
106*91e1e26aSAlexander Pyhalov	$(CC) $(LDFLAGS) $(CFLAGS) -o $@ euc_to_iso2022-7.o
107*91e1e26aSAlexander Pyhalov	$(POST_PROCESS_SO)
108*91e1e26aSAlexander Pyhalov
109*91e1e26aSAlexander Pyhalov$(I2E): iso2022-7_to_euc.o
110*91e1e26aSAlexander Pyhalov	$(CC) $(LDFLAGS) $(CFLAGS) -o $@ iso2022-7_to_euc.o
111*91e1e26aSAlexander Pyhalov	$(POST_PROCESS_SO)
112*91e1e26aSAlexander Pyhalov
113*91e1e26aSAlexander Pyhalov$(E2J92): euc_to_johap92.o ktable.o comp_to_pack.o c2p.o
114*91e1e26aSAlexander Pyhalov	$(CC) $(LDFLAGS) $(CFLAGS) -o $@ comp_to_pack.o c2p.o euc_to_johap92.o ktable.o
115*91e1e26aSAlexander Pyhalov	$(POST_PROCESS_SO)
116*91e1e26aSAlexander Pyhalov
117*91e1e26aSAlexander Pyhalov$(J922E): johap92_to_euc.o ktable.o
118*91e1e26aSAlexander Pyhalov	$(CC) $(LDFLAGS) $(CFLAGS) -o $@ johap92_to_euc.o ktable.o
119*91e1e26aSAlexander Pyhalov	$(POST_PROCESS_SO)
120*91e1e26aSAlexander Pyhalov
121*91e1e26aSAlexander Pyhalov$(E2J): euc_to_johap.o ktable.o comp_to_pack.o c2p.o
122*91e1e26aSAlexander Pyhalov	$(CC) $(LDFLAGS) $(CFLAGS) -o $@ euc_to_johap.o ktable.o comp_to_pack.o c2p.o
123*91e1e26aSAlexander Pyhalov	$(POST_PROCESS_SO)
124*91e1e26aSAlexander Pyhalov
125*91e1e26aSAlexander Pyhalov$(J2E): johap_to_euc.o ktable.o pack_to_comp.o
126*91e1e26aSAlexander Pyhalov	$(CC) $(LDFLAGS) $(CFLAGS) -o $@ johap_to_euc.o ktable.o pack_to_comp.o
127*91e1e26aSAlexander Pyhalov	$(POST_PROCESS_SO)
128*91e1e26aSAlexander Pyhalov
129*91e1e26aSAlexander Pyhalov$(E2NB): euc_to_nbyte.o comb_to_byte.o
130*91e1e26aSAlexander Pyhalov	$(CC) $(LDFLAGS) $(CFLAGS) -o $@ euc_to_nbyte.o comb_to_byte.o c2p.o ktable.o
131*91e1e26aSAlexander Pyhalov	$(POST_PROCESS_SO)
132*91e1e26aSAlexander Pyhalov
133*91e1e26aSAlexander Pyhalov$(NB2E): nbyte_to_euc.o byte_to_comb.o
134*91e1e26aSAlexander Pyhalov	$(CC) $(LDFLAGS) $(CFLAGS) -o $@ nbyte_to_euc.o byte_to_comb.o c2p.o ktable.o pack_to_comp.o
135*91e1e26aSAlexander Pyhalov	$(POST_PROCESS_SO)
136*91e1e26aSAlexander Pyhalov
137*91e1e26aSAlexander Pyhalov$(U2UH): utf_to_uhang_main.o utf_to_uhang_sub.o common_utf.o common_utf8.o $(COMMON)common_def.h
138*91e1e26aSAlexander Pyhalov	$(CC) $(LDFLAGS) $(CFLAGS) -o $@ utf_to_uhang_main.o utf_to_uhang_sub.o common_utf.o common_utf8.o
139*91e1e26aSAlexander Pyhalov	$(POST_PROCESS_SO)
140*91e1e26aSAlexander Pyhalov
141*91e1e26aSAlexander Pyhalov$(UH2U): uhang_to_utf_main.o uhang_to_utf_sub.o common_utf.o $(COMMON)common_def.h
142*91e1e26aSAlexander Pyhalov	$(CC) $(LDFLAGS) $(CFLAGS) -o $@ uhang_to_utf_main.o uhang_to_utf_sub.o common_utf.o
143*91e1e26aSAlexander Pyhalov	$(POST_PROCESS_SO)
144*91e1e26aSAlexander Pyhalov
145*91e1e26aSAlexander Pyhalov$(UH2UCS2LE) : unihan_to_UCS_sub.o unihan_to_UCS-2LE_main.o common_utf.o
146*91e1e26aSAlexander Pyhalov	$(CC) $(LDFLAGS) $(CFLAGS) -o $@ unihan_to_UCS_sub.o unihan_to_UCS-2LE_main.o common_utf.o
147*91e1e26aSAlexander Pyhalov	$(POST_PROCESS_SO)
148*91e1e26aSAlexander Pyhalov
149*91e1e26aSAlexander Pyhalov$(UCS2LE2UH) : ucs_LE_to_unihan.o utf_to_uhang_sub.o common_utf.o
150*91e1e26aSAlexander Pyhalov	$(CC) $(LDFLAGS) $(CFLAGS) -o $@ ucs_LE_to_unihan.o utf_to_uhang_sub.o common_utf.o
151*91e1e26aSAlexander Pyhalov	$(POST_PROCESS_SO)
152*91e1e26aSAlexander Pyhalov
153*91e1e26aSAlexander Pyhalov$(UH2UCS2BE) : unihan_to_UCS_sub.o unihan_to_UCS-2BE_main.o common_utf.o
154*91e1e26aSAlexander Pyhalov	$(CC) $(LDFLAGS) $(CFLAGS) -o $@ unihan_to_UCS_sub.o unihan_to_UCS-2BE_main.o common_utf.o
155*91e1e26aSAlexander Pyhalov	$(POST_PROCESS_SO)
156*91e1e26aSAlexander Pyhalov
157*91e1e26aSAlexander Pyhalov$(UCS2BE2UH) : ucs_BE_to_unihan.o utf_to_uhang_sub.o common_utf.o
158*91e1e26aSAlexander Pyhalov	$(CC) $(LDFLAGS) $(CFLAGS) -o $@ ucs_BE_to_unihan.o utf_to_uhang_sub.o common_utf.o
159*91e1e26aSAlexander Pyhalov	$(POST_PROCESS_SO)
160*91e1e26aSAlexander Pyhalov
161*91e1e26aSAlexander Pyhalov$(E2U): euc_to_utf_main.o euc_to_utf_sub.o common_utf.o $(COMMON)common_def.h
162*91e1e26aSAlexander Pyhalov	$(CC) $(LDFLAGS) $(CFLAGS) -o $@ euc_to_utf_main.o euc_to_utf_sub.o common_utf.o
163*91e1e26aSAlexander Pyhalov	$(POST_PROCESS_SO)
164*91e1e26aSAlexander Pyhalov
165*91e1e26aSAlexander Pyhalov$(U2E): utf_to_euc_main.o utf_to_euc_sub.o common_utf.o common_utf8.o $(COMMON)common_def.h
166*91e1e26aSAlexander Pyhalov	$(CC) $(LDFLAGS) $(CFLAGS) -o $@ utf_to_euc_main.o utf_to_euc_sub.o common_utf.o common_utf8.o
167*91e1e26aSAlexander Pyhalov	$(POST_PROCESS_SO)
168*91e1e26aSAlexander Pyhalov
169*91e1e26aSAlexander Pyhalov$(N2U): njh_to_utf_main.o njh_to_utf_sub.o common_utf.o $(COMMON)common_def.h
170*91e1e26aSAlexander Pyhalov	$(CC) $(LDFLAGS) $(CFLAGS) -o $@ njh_to_utf_main.o njh_to_utf_sub.o common_utf.o
171*91e1e26aSAlexander Pyhalov	$(POST_PROCESS_SO)
172*91e1e26aSAlexander Pyhalov
173*91e1e26aSAlexander Pyhalov$(U2N): utf_to_njh_main.o utf_to_njh_sub.o common_utf.o common_utf8.o $(COMMON)common_def.h
174*91e1e26aSAlexander Pyhalov	$(CC) $(LDFLAGS) $(CFLAGS) -o $@ utf_to_njh_main.o utf_to_njh_sub.o common_utf.o common_utf8.o
175*91e1e26aSAlexander Pyhalov	$(POST_PROCESS_SO)
176*91e1e26aSAlexander Pyhalov
177*91e1e26aSAlexander Pyhalov$(O2U): ojh_to_utf_main.o ojh_to_utf_sub.o common_utf.o $(COMMON)common_def.h
178*91e1e26aSAlexander Pyhalov	$(CC) $(LDFLAGS) $(CFLAGS) -o $@ ojh_to_utf_main.o ojh_to_utf_sub.o common_utf.o
179*91e1e26aSAlexander Pyhalov	$(POST_PROCESS_SO)
180*91e1e26aSAlexander Pyhalov
181*91e1e26aSAlexander Pyhalov$(U2O): utf_to_ojh_main.o utf_to_ojh_sub.o common_utf.o common_utf8.o $(COMMON)common_def.h
182*91e1e26aSAlexander Pyhalov	$(CC) $(LDFLAGS) $(CFLAGS) -o $@ utf_to_ojh_main.o utf_to_ojh_sub.o common_utf.o common_utf8.o
183*91e1e26aSAlexander Pyhalov	$(POST_PROCESS_SO)
184*91e1e26aSAlexander Pyhalov
185*91e1e26aSAlexander Pyhalov$(I2U): iso_to_utf_main.o euc_to_utf_sub.o common_utf.o $(COMMON)common_def.h
186*91e1e26aSAlexander Pyhalov	$(CC) $(LDFLAGS) $(CFLAGS) -o $@ iso_to_utf_main.o euc_to_utf_sub.o common_utf.o
187*91e1e26aSAlexander Pyhalov	$(POST_PROCESS_SO)
188*91e1e26aSAlexander Pyhalov
189*91e1e26aSAlexander Pyhalov$(U2I): utf_to_iso_main.o utf_to_euc_sub.o common_utf.o common_utf8.o $(COMMON)common_def.h
190*91e1e26aSAlexander Pyhalov	$(CC) $(LDFLAGS) $(CFLAGS) -o $@ utf_to_iso_main.o utf_to_euc_sub.o common_utf.o common_utf8.o
191*91e1e26aSAlexander Pyhalov	$(POST_PROCESS_SO)
192*91e1e26aSAlexander Pyhalov
193*91e1e26aSAlexander Pyhalov$(U2C933): UTF8_to_Cp933.o utf8%ibm.o tab_lookup.o $(ICONV_COMMON)tab_lookup.h
194*91e1e26aSAlexander Pyhalov	$(CC) $(LDFLAGS) $(CFLAGS) -o $@ UTF8_to_Cp933.o utf8%ibm.o tab_lookup.o
195*91e1e26aSAlexander Pyhalov	$(POST_PROCESS_SO)
196*91e1e26aSAlexander Pyhalov
197*91e1e26aSAlexander Pyhalov$(C9332U): Cp933_to_UTF8.o ibm%utf8.o tab_lookup.o $(ICONV_COMMON)tab_lookup.h
198*91e1e26aSAlexander Pyhalov	$(CC) $(LDFLAGS) $(CFLAGS) -o $@ Cp933_to_UTF8.o ibm%utf8.o tab_lookup.o
199*91e1e26aSAlexander Pyhalov	$(POST_PROCESS_SO)
200*91e1e26aSAlexander Pyhalov
201*91e1e26aSAlexander Pyhalov#
202*91e1e26aSAlexander Pyhalov# objs
203*91e1e26aSAlexander Pyhalov#
204*91e1e26aSAlexander Pyhalovcommon_utf8.o: $(ICONV_COMMON)common_utf8.c $(COMMON)common_def.h
205*91e1e26aSAlexander Pyhalov	$(CC) -c $(CFLAGS) $(ICONV_COMMON)common_utf8.c -o $@
206*91e1e26aSAlexander Pyhalov	$(POST_PROCESS_O)
207*91e1e26aSAlexander Pyhalov
208*91e1e26aSAlexander Pyhalovucs_LE_to_unihan.o : $(COMMON)ucs_to_unihan.c
209*91e1e26aSAlexander Pyhalov	$(CC) -c $(CFLAGS) -DUCS_2LE $(COMMON)ucs_to_unihan.c -o $@
210*91e1e26aSAlexander Pyhalov	$(POST_PROCESS_O)
211*91e1e26aSAlexander Pyhalov
212*91e1e26aSAlexander Pyhalovucs_BE_to_unihan.o : $(COMMON)ucs_to_unihan.c
213*91e1e26aSAlexander Pyhalov	$(CC) -c $(CFLAGS) -DUCS_2BE $(COMMON)ucs_to_unihan.c -o $@
214*91e1e26aSAlexander Pyhalov	$(POST_PROCESS_O)
215*91e1e26aSAlexander Pyhalov
216*91e1e26aSAlexander Pyhalovunihan_to_UCS-2BE_main.o : $(COMMON)unihan_to_UCS_main.c
217*91e1e26aSAlexander Pyhalov	$(CC) -c $(CFLAGS) -DUCS_2BE $(COMMON)unihan_to_UCS_main.c -o $@
218*91e1e26aSAlexander Pyhalov	$(POST_PROCESS_O)
219*91e1e26aSAlexander Pyhalov
220*91e1e26aSAlexander Pyhalovunihan_to_UCS-2LE_main.o : $(COMMON)unihan_to_UCS_main.c
221*91e1e26aSAlexander Pyhalov	$(CC) -c $(CFLAGS) -DUCS_2LE $(COMMON)unihan_to_UCS_main.c -o $@
222*91e1e26aSAlexander Pyhalov	$(POST_PROCESS_O)
223*91e1e26aSAlexander Pyhalov
224*91e1e26aSAlexander Pyhalovibm%utf8.o : $(ICONV_COMMON)ibm%utf8.c  $(COMMON)common_def.h
225*91e1e26aSAlexander Pyhalov	$(CC) -c $(CFLAGS) $(ICONV_COMMON)ibm%utf8.c -o $@
226*91e1e26aSAlexander Pyhalov	$(POST_PROCESS_O)
227*91e1e26aSAlexander Pyhalov
228*91e1e26aSAlexander Pyhalovutf8%ibm.o: $(ICONV_COMMON)utf8%ibm.c $(COMMON)common_def.h
229*91e1e26aSAlexander Pyhalov	$(CC) -c $(CFLAGS) $(ICONV_COMMON)utf8%ibm.c -o $@
230*91e1e26aSAlexander Pyhalov	$(POST_PROCESS_O)
231*91e1e26aSAlexander Pyhalov
232*91e1e26aSAlexander Pyhalovcnv_utf8ibm.o: $(ICONV_COMMON)cnv_utf8ibm.c $(ICONV_COMMON)tab_lookup.h
233*91e1e26aSAlexander Pyhalov	$(CC) -c $(CFLAGS) $(ICONV_COMMON)cnv_utf8ibm.c -o $@
234*91e1e26aSAlexander Pyhalov	$(POST_PROCESS_O)
235*91e1e26aSAlexander Pyhalov
236*91e1e26aSAlexander Pyhalovcnv_ibmutf8.o: $(ICONV_COMMON)cnv_ibmutf8.c $(ICONV_COMMON)tab_lookup.h
237*91e1e26aSAlexander Pyhalov	$(CC) -c $(CFLAGS) $(ICONV_COMMON)cnv_ibmutf8.c -o $@
238*91e1e26aSAlexander Pyhalov	$(POST_PROCESS_O)
239*91e1e26aSAlexander Pyhalov
240*91e1e26aSAlexander Pyhalovtab_lookup.o: $(ICONV_COMMON)tab_lookup.c $(ICONV_COMMON)tab_lookup.h
241*91e1e26aSAlexander Pyhalov	$(CC) -c $(CFLAGS) $(ICONV_COMMON)tab_lookup.c -o $@
242*91e1e26aSAlexander Pyhalov	$(POST_PROCESS_O)
243*91e1e26aSAlexander Pyhalov
244*91e1e26aSAlexander PyhalovCp933_to_UTF8.o: $(COMMON)Cp933_to_UTF8.c $(ICONV_COMMON)tab_lookup.h  $(COMMON)cp933_ucs2.h
245*91e1e26aSAlexander Pyhalov	$(CC) -c $(CFLAGS) $(COMMON)Cp933_to_UTF8.c -o $@
246*91e1e26aSAlexander Pyhalov	$(POST_PROCESS_O)
247*91e1e26aSAlexander Pyhalov
248*91e1e26aSAlexander PyhalovUTF8_to_Cp933.o: $(COMMON)UTF8_to_Cp933.c $(ICONV_COMMON)tab_lookup.h $(COMMON)ucs2_cp933.h
249*91e1e26aSAlexander Pyhalov	$(CC) -c $(CFLAGS) $(COMMON)UTF8_to_Cp933.c -o $@
250*91e1e26aSAlexander Pyhalov	$(POST_PROCESS_O)
251*91e1e26aSAlexander Pyhalov
252*91e1e26aSAlexander Pyhalov#
253*91e1e26aSAlexander Pyhalov# Proto area symlinks
254*91e1e26aSAlexander Pyhalov#
255*91e1e26aSAlexander Pyhalov$(CREATE_LINKS):	$(ICONV_LINK_TARGETS)
256*91e1e26aSAlexander Pyhalov	$(SYMLINK) -f ko_KR-UTF-8%ko_KR-cp949.so $(ICONV_DIR)/ko_KR-UTF-8%UnifiedHangul.so
257*91e1e26aSAlexander Pyhalov	$(SYMLINK) -f ko_KR-cp933%ko_KR-UTF-8.so $(ICONV_DIR)/ko_KR-cp933%UTF-8.so
258*91e1e26aSAlexander Pyhalov	$(SYMLINK) -f ko_KR-cp949%ko_KR-UTF-8.so $(ICONV_DIR)/ko_KR-cp949%UTF-8.so
259*91e1e26aSAlexander Pyhalov	$(SYMLINK) -f ko_KR-euc%ko_KR-UTF-8.so $(ICONV_DIR)/ko_KR-euc%UTF-8.so
260*91e1e26aSAlexander Pyhalov	$(SYMLINK) -f ko_KR-iso2022-7%ko_KR-UTF-8.so $(ICONV_DIR)/ko_KR-iso2022-7%UTF-8.so
261*91e1e26aSAlexander Pyhalov	$(SYMLINK) -f ko_KR-johap%ko_KR-UTF-8.so $(ICONV_DIR)/ko_KR-johap%UTF-8.so
262*91e1e26aSAlexander Pyhalov	$(SYMLINK) -f ko_KR-johap92%ko_KR-UTF-8.so $(ICONV_DIR)/ko_KR-johap92%UTF-8.so
263*91e1e26aSAlexander Pyhalov	$(SYMLINK) -f ko_KR-euc%ko_KR-UTF-8.so $(ICONV_DIR)/ko_KR.EUC%UTF-8.so
264*91e1e26aSAlexander Pyhalov	$(SYMLINK) -f ko_KR-cp933%ko_KR-UTF-8.so $(ICONV_DIR)/ko_KR.cp933%UTF-8.so
265*91e1e26aSAlexander Pyhalov	$(SYMLINK) -f ko_KR-cp949%ko_KR-UTF-8.so $(ICONV_DIR)/ko_KR.cp949%UTF-8.so
266*91e1e26aSAlexander Pyhalov	$(SYMLINK) -f ko_KR-euc%ko_KR-UTF-8.so $(ICONV_DIR)/ko_KR.euc%UTF-8.so
267*91e1e26aSAlexander Pyhalov	$(SYMLINK) -f ko_KR-euc%ko_KR-iso2022-7.so $(ICONV_DIR)/ko_KR.euc%ko_KR.iso2022-7.so
268*91e1e26aSAlexander Pyhalov	$(SYMLINK) -f ko_KR-euc%ko_KR-johap.so $(ICONV_DIR)/ko_KR.euc%ko_KR.johap.so
269*91e1e26aSAlexander Pyhalov	$(SYMLINK) -f ko_KR-euc%ko_KR-johap92.so $(ICONV_DIR)/ko_KR.euc%ko_KR.johap92.so
270*91e1e26aSAlexander Pyhalov	$(SYMLINK) -f ko_KR-euc%ko_KR-nbyte.so $(ICONV_DIR)/ko_KR.euc%ko_KR.nbyte.so
271*91e1e26aSAlexander Pyhalov	$(SYMLINK) -f ko_KR-iso2022-7%ko_KR-UTF-8.so $(ICONV_DIR)/ko_KR.iso2022-7%UTF-8.so
272*91e1e26aSAlexander Pyhalov	$(SYMLINK) -f ko_KR-iso2022-7%ko_KR-euc.so $(ICONV_DIR)/ko_KR.iso2022-7%ko_KR.euc.so
273*91e1e26aSAlexander Pyhalov	$(SYMLINK) -f ko_KR-johap%ko_KR-UTF-8.so $(ICONV_DIR)/ko_KR.johap%UTF-8.so
274*91e1e26aSAlexander Pyhalov	$(SYMLINK) -f ko_KR-johap%ko_KR-euc.so $(ICONV_DIR)/ko_KR.johap%ko_KR.euc.so
275*91e1e26aSAlexander Pyhalov	$(SYMLINK) -f ko_KR-johap92%ko_KR-UTF-8.so $(ICONV_DIR)/ko_KR.johap92%UTF-8.so
276*91e1e26aSAlexander Pyhalov	$(SYMLINK) -f ko_KR-johap92%ko_KR-euc.so $(ICONV_DIR)/ko_KR.johap92%ko_KR.euc.so
277*91e1e26aSAlexander Pyhalov	$(SYMLINK) -f ko_KR-nbyte%ko_KR-euc.so $(ICONV_DIR)/ko_KR.nbyte%ko_KR.euc.so
278*91e1e26aSAlexander Pyhalov	$(SYMLINK) -f ko_KR-cp949%UCS-2BE.so $(ICONV_DIR)/5601%UCS-2BE.so
279*91e1e26aSAlexander Pyhalov	$(SYMLINK) -f ko_KR-cp949%UCS-2LE.so $(ICONV_DIR)/5601%UCS-2LE.so
280*91e1e26aSAlexander Pyhalov	$(SYMLINK) -f ko_KR-euc%ko_KR-UTF-8.so $(ICONV_DIR)/5601%UTF-8.so
281*91e1e26aSAlexander Pyhalov	$(SYMLINK) -f ko_KR-euc%ko_KR-UTF-8.so $(ICONV_DIR)/EUC-KR%UTF-8.so
282*91e1e26aSAlexander Pyhalov	$(SYMLINK) -f ko_KR-iso2022-7%ko_KR-UTF-8.so $(ICONV_DIR)/ISO-2022-KR%UTF-8.so
283*91e1e26aSAlexander Pyhalov	$(SYMLINK) -f ko_KR-euc%ko_KR-UTF-8.so $(ICONV_DIR)/KSC5601%UTF-8.so
284*91e1e26aSAlexander Pyhalov	$(SYMLINK) -f ko_KR-euc%ko_KR-UTF-8.so $(ICONV_DIR)/KSX1001%UTF-8.so
285*91e1e26aSAlexander Pyhalov	$(SYMLINK) -f UCS-2BE%ko_KR-cp949.so $(ICONV_DIR)/UCS-2BE%5601.so
286*91e1e26aSAlexander Pyhalov	$(SYMLINK) -f UCS-2LE%ko_KR-cp949.so $(ICONV_DIR)/UCS-2LE%5601.so
287*91e1e26aSAlexander Pyhalov	$(SYMLINK) -f ko_KR-UTF-8%ko_KR-euc.so $(ICONV_DIR)/UTF-8%5601.so
288*91e1e26aSAlexander Pyhalov	$(SYMLINK) -f ko_KR-UTF-8%ko_KR-euc.so $(ICONV_DIR)/UTF-8%EUC-KR.so
289*91e1e26aSAlexander Pyhalov	$(SYMLINK) -f ko_KR-UTF-8%ko_KR-iso2022-7.so $(ICONV_DIR)/UTF-8%ISO-2022-KR.so
290*91e1e26aSAlexander Pyhalov	$(SYMLINK) -f ko_KR-UTF-8%ko_KR-euc.so $(ICONV_DIR)/UTF-8%KSC5601.so
291*91e1e26aSAlexander Pyhalov	$(SYMLINK) -f ko_KR-UTF-8%ko_KR-euc.so $(ICONV_DIR)/UTF-8%KSX1001.so
292*91e1e26aSAlexander Pyhalov	$(SYMLINK) -f ko_KR-UTF-8%ko_KR-cp933.so $(ICONV_DIR)/UTF-8%ko_KR-cp933.so
293*91e1e26aSAlexander Pyhalov	$(SYMLINK) -f ko_KR-UTF-8%ko_KR-cp949.so $(ICONV_DIR)/UTF-8%ko_KR-cp949.so
294*91e1e26aSAlexander Pyhalov	$(SYMLINK) -f ko_KR-UTF-8%ko_KR-euc.so $(ICONV_DIR)/UTF-8%ko_KR-euc.so
295*91e1e26aSAlexander Pyhalov	$(SYMLINK) -f ko_KR-UTF-8%ko_KR-iso2022-7.so $(ICONV_DIR)/UTF-8%ko_KR-iso2022-7.so
296*91e1e26aSAlexander Pyhalov	$(SYMLINK) -f ko_KR-UTF-8%ko_KR-johap.so $(ICONV_DIR)/UTF-8%ko_KR-johap.so
297*91e1e26aSAlexander Pyhalov	$(SYMLINK) -f ko_KR-UTF-8%ko_KR-johap92.so $(ICONV_DIR)/UTF-8%ko_KR-johap92.so
298*91e1e26aSAlexander Pyhalov	$(SYMLINK) -f ko_KR-UTF-8%ko_KR-euc.so $(ICONV_DIR)/UTF-8%ko_KR.EUC.so
299*91e1e26aSAlexander Pyhalov	$(SYMLINK) -f ko_KR-UTF-8%ko_KR-cp933.so $(ICONV_DIR)/UTF-8%ko_KR.cp933.so
300*91e1e26aSAlexander Pyhalov	$(SYMLINK) -f ko_KR-UTF-8%ko_KR-cp949.so $(ICONV_DIR)/UTF-8%ko_KR.cp949.so
301*91e1e26aSAlexander Pyhalov	$(SYMLINK) -f ko_KR-UTF-8%ko_KR-euc.so $(ICONV_DIR)/UTF-8%ko_KR.euc.so
302*91e1e26aSAlexander Pyhalov	$(SYMLINK) -f ko_KR-UTF-8%ko_KR-iso2022-7.so $(ICONV_DIR)/UTF-8%ko_KR.iso2022-7.so
303*91e1e26aSAlexander Pyhalov	$(SYMLINK) -f ko_KR-UTF-8%ko_KR-johap.so $(ICONV_DIR)/UTF-8%ko_KR.johap.so
304*91e1e26aSAlexander Pyhalov	$(SYMLINK) -f ko_KR-UTF-8%ko_KR-johap92.so $(ICONV_DIR)/UTF-8%ko_KR.johap92.so
305*91e1e26aSAlexander Pyhalov	$(SYMLINK) -f ko_KR-cp949%ko_KR-UTF-8.so $(ICONV_DIR)/UnifiedHangul%ko_KR-UTF-8.so
306*91e1e26aSAlexander Pyhalov	$(TOUCH) $@
307*91e1e26aSAlexander PyhalovFRC:
308