~vcs-imports/mammoth-replicator/trunk

« back to all changes in this revision

Viewing changes to src/backend/utils/mb/Unicode/Makefile

  • Committer: alvherre
  • Date: 2005-12-16 21:24:52 UTC
  • Revision ID: svn-v4:db760fc0-0f08-0410-9d63-cc6633f64896:trunk:1
Initial import of the REL8_0_3 sources from the Pgsql CVS repository.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#-------------------------------------------------------------------------
 
2
#
 
3
# Makefile for src/backend/utils/mb/Unicode
 
4
#
 
5
# Copyright (c) 2001-2005, PostgreSQL Global Development Group
 
6
#
 
7
# $PostgreSQL: pgsql/src/backend/utils/mb/Unicode/Makefile,v 1.8 2005-01-01 20:44:18 tgl Exp $
 
8
#
 
9
#-------------------------------------------------------------------------
 
10
 
 
11
subdir = src/backend/utils/mb/Unicode
 
12
top_builddir = ../../../../..
 
13
include $(top_builddir)/src/Makefile.global
 
14
 
 
15
ISO8859MAPS=iso8859_2_to_utf8.map iso8859_3_to_utf8.map \
 
16
        iso8859_4_to_utf8.map iso8859_5_to_utf8.map \
 
17
        utf8_to_iso8859_2.map utf8_to_iso8859_3.map \
 
18
        utf8_to_iso8859_4.map utf8_to_iso8859_5.map 
 
19
 
 
20
 
 
21
CYRILLICMAPS=koi8r_to_utf8.map win1251_to_utf8.map alt_to_utf8.map\
 
22
             utf8_to_koi8r.map  utf8_to_win1251.map utf8_to_alt.map
 
23
 
 
24
MAPS= $(ISO8859MAPS) $(CYRILLICMAPS)\
 
25
        big5_to_utf8.map euc_cn_to_utf8.map euc_jp_to_utf8.map \
 
26
        euc_kr_to_utf8.map euc_tw_to_utf8.map sjis_to_utf8.map \
 
27
        utf8_to_big5.map utf8_to_euc_cn.map utf8_to_euc_jp.map \
 
28
        utf8_to_euc_kr.map utf8_to_euc_tw.map utf8_to_iso8859_2.map \
 
29
        utf8_to_sjis.map gb18030_to_utf8.map utf8_to_gb18030.map
 
30
 
 
31
ISO8859TEXTS= 8859-2.TXT 8859-3.TXT 8859-4.TXT 8859-5.TXT
 
32
CYRILLICTEXTS=cp866.txt cp1251.txt koi8-r.txt
 
33
 
 
34
TEXTS=$(ISO8859TEXTS) $(CYRILLICTEXTS) \
 
35
        BIG5.TXT CNS11643.TXT GB2312.TXT \
 
36
        JIS0201.TXT JIS0208.TXT JIS0212.TXT \
 
37
        OLD5601.TXT SHIFTJIS.TXT ISO10646-GB18030.TXT
 
38
 
 
39
all: $(MAPS)
 
40
 
 
41
$(ISO8859MAPS) : $(ISO8859TEXTS)
 
42
        ./UCS_to_8859.pl
 
43
$(CYRILLICMAPS) : $(CYRILLICTEXTS)
 
44
        ./UCS_to_cyrillic.pl
 
45
 
 
46
euc_jp_to_utf8.map utf8_to_euc_jp.map : JIS0201.TXT JIS0208.TXT JIS0212.TXT
 
47
        ./UCS_to_EUC_JP.pl
 
48
 
 
49
euc_cn_to_utf8.map utf8_to_euc_cn.map : GB2312.TXT
 
50
        ./UCS_to_EUC_CN.pl
 
51
 
 
52
euc_kr_to_utf8.map utf8_to_euc_kr.map : OLD5601.TXT
 
53
        ./UCS_to_EUC_KR.pl
 
54
 
 
55
euc_tw_to_utf8.map utf8_to_euc_tw.map : CNS11643.TXT
 
56
        ./UCS_to_EUC_TW.pl
 
57
 
 
58
sjis_to_utf8.map utf8_to_sjis.map : SHIFTJIS.TXT
 
59
        ./UCS_to_SJIS.pl
 
60
 
 
61
big5_to_utf8.map utf8_to_big5.map : BIG5.TXT
 
62
        ./UCS_to_BIG5.pl
 
63
 
 
64
gb18030_to_utf8.map  utf8_to_gb18030.map : ISO10646-GB18030.TXT
 
65
        ./UCS_to_GB18030.pl
 
66
clean:
 
67
        rm -f $(MAPS)
 
68
 
 
69
distclean: clean
 
70
        rm -f $(TEXTS)