2000-10-30 11:41:05 +01:00
|
|
|
#-------------------------------------------------------------------------
|
|
|
|
#
|
|
|
|
# Makefile for src/backend/utils/mb/Unicode
|
|
|
|
#
|
2005-01-01 21:44:34 +01:00
|
|
|
# Copyright (c) 2001-2005, PostgreSQL Global Development Group
|
2000-10-30 11:41:05 +01:00
|
|
|
#
|
2005-03-07 05:30:55 +01:00
|
|
|
# $PostgreSQL: pgsql/src/backend/utils/mb/Unicode/Makefile,v 1.9 2005/03/07 04:30:52 momjian Exp $
|
2000-10-30 11:41:05 +01:00
|
|
|
#
|
|
|
|
#-------------------------------------------------------------------------
|
|
|
|
|
|
|
|
subdir = src/backend/utils/mb/Unicode
|
|
|
|
top_builddir = ../../../../..
|
|
|
|
include $(top_builddir)/src/Makefile.global
|
|
|
|
|
|
|
|
ISO8859MAPS=iso8859_2_to_utf8.map iso8859_3_to_utf8.map \
|
|
|
|
iso8859_4_to_utf8.map iso8859_5_to_utf8.map \
|
|
|
|
utf8_to_iso8859_2.map utf8_to_iso8859_3.map \
|
|
|
|
utf8_to_iso8859_4.map utf8_to_iso8859_5.map
|
|
|
|
|
2001-04-29 09:27:38 +02:00
|
|
|
|
2005-03-07 05:30:55 +01:00
|
|
|
CYRILLICMAPS=koi8r_to_utf8.map win1251_to_utf8.map win866_to_utf8.map\
|
|
|
|
utf8_to_koi8r.map utf8_to_win1251.map utf8_to_win866.map
|
2001-04-29 09:27:38 +02:00
|
|
|
|
|
|
|
MAPS= $(ISO8859MAPS) $(CYRILLICMAPS)\
|
2000-10-30 11:41:05 +01:00
|
|
|
big5_to_utf8.map euc_cn_to_utf8.map euc_jp_to_utf8.map \
|
|
|
|
euc_kr_to_utf8.map euc_tw_to_utf8.map sjis_to_utf8.map \
|
|
|
|
utf8_to_big5.map utf8_to_euc_cn.map utf8_to_euc_jp.map \
|
|
|
|
utf8_to_euc_kr.map utf8_to_euc_tw.map utf8_to_iso8859_2.map \
|
2002-06-14 05:30:56 +02:00
|
|
|
utf8_to_sjis.map gb18030_to_utf8.map utf8_to_gb18030.map
|
2000-10-30 11:41:05 +01:00
|
|
|
|
|
|
|
ISO8859TEXTS= 8859-2.TXT 8859-3.TXT 8859-4.TXT 8859-5.TXT
|
2001-04-29 09:27:38 +02:00
|
|
|
CYRILLICTEXTS=cp866.txt cp1251.txt koi8-r.txt
|
2000-10-30 11:41:05 +01:00
|
|
|
|
2001-04-29 09:27:38 +02:00
|
|
|
TEXTS=$(ISO8859TEXTS) $(CYRILLICTEXTS) \
|
2000-10-30 11:41:05 +01:00
|
|
|
BIG5.TXT CNS11643.TXT GB2312.TXT \
|
|
|
|
JIS0201.TXT JIS0208.TXT JIS0212.TXT \
|
2002-06-14 05:30:56 +02:00
|
|
|
OLD5601.TXT SHIFTJIS.TXT ISO10646-GB18030.TXT
|
2000-10-30 11:41:05 +01:00
|
|
|
|
|
|
|
all: $(MAPS)
|
|
|
|
|
|
|
|
$(ISO8859MAPS) : $(ISO8859TEXTS)
|
|
|
|
./UCS_to_8859.pl
|
2001-04-29 09:27:38 +02:00
|
|
|
$(CYRILLICMAPS) : $(CYRILLICTEXTS)
|
|
|
|
./UCS_to_cyrillic.pl
|
2000-10-30 11:41:05 +01:00
|
|
|
|
|
|
|
euc_jp_to_utf8.map utf8_to_euc_jp.map : JIS0201.TXT JIS0208.TXT JIS0212.TXT
|
|
|
|
./UCS_to_EUC_JP.pl
|
|
|
|
|
|
|
|
euc_cn_to_utf8.map utf8_to_euc_cn.map : GB2312.TXT
|
|
|
|
./UCS_to_EUC_CN.pl
|
|
|
|
|
|
|
|
euc_kr_to_utf8.map utf8_to_euc_kr.map : OLD5601.TXT
|
|
|
|
./UCS_to_EUC_KR.pl
|
|
|
|
|
|
|
|
euc_tw_to_utf8.map utf8_to_euc_tw.map : CNS11643.TXT
|
|
|
|
./UCS_to_EUC_TW.pl
|
|
|
|
|
|
|
|
sjis_to_utf8.map utf8_to_sjis.map : SHIFTJIS.TXT
|
|
|
|
./UCS_to_SJIS.pl
|
|
|
|
|
|
|
|
big5_to_utf8.map utf8_to_big5.map : BIG5.TXT
|
|
|
|
./UCS_to_BIG5.pl
|
|
|
|
|
2002-06-14 05:30:56 +02:00
|
|
|
gb18030_to_utf8.map utf8_to_gb18030.map : ISO10646-GB18030.TXT
|
|
|
|
./UCS_to_GB18030.pl
|
2000-10-30 11:41:05 +01:00
|
|
|
clean:
|
|
|
|
rm -f $(MAPS)
|
|
|
|
|
|
|
|
distclean: clean
|
|
|
|
rm -f $(TEXTS)
|