1 |
wakaba |
1.1 |
|
2 |
|
|
PLDIR = tool/
|
3 |
|
|
PERL = perl
|
4 |
wakaba |
1.2 |
PERLI = $(PERL) -I$(PLDIR)
|
5 |
wakaba |
1.1 |
TBR2TBL = $(PLDIR)tbr2tbl.pl
|
6 |
|
|
TBL2UCM = $(PLDIR)tbl2ucm.pl
|
7 |
|
|
TBL2PM = $(PLDIR)tbl2pm.pl
|
8 |
|
|
|
9 |
wakaba |
1.8 |
PM_jis = jisx0208_1978.pm jisx0208_1978_irv.pm \
|
10 |
|
|
jisx0208_1983.pm jisx0208_1983_irv.pm jisx0208_1990.pm \
|
11 |
wakaba |
1.9 |
jisx0208_1990_open_0201.pm jisx0208_1990_open_ascii.pm \
|
12 |
wakaba |
1.11 |
jisx0208_1997.pm jisx0208_1997_irv.pm jisx0208_1997_latin.pm jisx0208_1997_yen.pm \
|
13 |
wakaba |
1.2 |
jisx0212_1990.pm jisx0212_1990_irv.pm jisx0212_0213.pm \
|
14 |
wakaba |
1.9 |
jisx0212_1990_open_0201.pm jisx0212_1990_open_ascii.pm \
|
15 |
|
|
jisx0212_1990_open_ms.pm \
|
16 |
wakaba |
1.3 |
jisx0213_2000_1.pm jisx0213_2000_1_esc_24_42.pm jisx0213_2000_2.pm \
|
17 |
wakaba |
1.12 |
jisx0201_latin.pm jisx0201_katakana.pm ascii_yen.pm \
|
18 |
|
|
jisx0208_to_katakana.pm
|
19 |
wakaba |
1.4 |
PM_gb = gb2312_1980.pm gb12345_1990.pm iso_ir_165.pm
|
20 |
wakaba |
1.5 |
PM_ks = ksx1001_1992.pm
|
21 |
wakaba |
1.4 |
PM_kps = kps9566_1997.pm
|
22 |
wakaba |
1.10 |
PM_photograph = imode.pm lmode.pm doti.pm jphone.pm iso_ir_169.pm
|
23 |
|
|
PM_misc = iso_ir_231.pm
|
24 |
wakaba |
1.7 |
PM_iso8859 = isoiec8859_2.pm isoiec8859_3.pm isoiec8859_4.pm \
|
25 |
|
|
isoiec8859_5.pm isoiec8859_6.pm isoiec8859_7.pm \
|
26 |
|
|
isoiec8859_8.pm isoiec8859_8_1999.pm isoiec8859_9.pm \
|
27 |
|
|
isoiec8859_10.pm isoiec8859_11.pm isoiec8859_13.pm \
|
28 |
|
|
isoiec8859_14.pm isoiec8859_15.pm isoiec8859_16.pm \
|
29 |
|
|
iso_ir_204.pm iso_ir_205.pm iso_ir_206.pm
|
30 |
|
|
|
31 |
wakaba |
1.10 |
all: jis gb ks kps iso8859 photograph misc
|
32 |
wakaba |
1.2 |
|
33 |
|
|
jis: $(PM_jis)
|
34 |
wakaba |
1.3 |
jis-tbl: $(PM_jis:.pm=.tbl)
|
35 |
wakaba |
1.4 |
gb: $(PM_gb)
|
36 |
|
|
gb-tbl: $(PM_gb:.pm=.tbl)
|
37 |
wakaba |
1.5 |
ks: $(PM_ks)
|
38 |
|
|
ks-tbl: $(PM_ks:.pm=.tbl)
|
39 |
wakaba |
1.4 |
kps: $(PM_kps)
|
40 |
|
|
kps-tbl: $(PM_kps:.pm=.tbl)
|
41 |
wakaba |
1.7 |
iso8859: $(PM_iso8859)
|
42 |
|
|
iso8859-tbl: $(PM_iso8859:.pm=.tbl)
|
43 |
wakaba |
1.10 |
photograph: $(PM_photograph)
|
44 |
|
|
photograph-tbl: $(PM_photograph:.pm=.tbl)
|
45 |
wakaba |
1.6 |
misc: $(PM_misc)
|
46 |
|
|
misc-tbl: $(PM_misc:.pm=.tbl)
|
47 |
wakaba |
1.2 |
|
48 |
wakaba |
1.1 |
%.tbl: %.tbr $(TBR2TBL)
|
49 |
|
|
$(PERLI) $(TBR2TBL) $< > $@
|
50 |
|
|
|
51 |
|
|
%.ucm: %.tbl $(TBL2UCM)
|
52 |
|
|
$(PERLI) $(TBL2UCM) $< > $@
|
53 |
|
|
|
54 |
|
|
%.pm: %.tbl $(TBL2PM) $(PLDIR)internal.pl
|
55 |
|
|
$(PERLI) $(TBL2PM) $< > $@
|
56 |
wakaba |
1.12 |
$(PERLI) -c $@
|
57 |
wakaba |
1.1 |
|
58 |
|
|
clean:
|
59 |
|
|
rm -rfv *.BAK .*.BAK *~ .*~
|
60 |
wakaba |
1.4 |
rm -ffv $(PM_jis) $(PM_jis:.pm=.tbl) \
|
61 |
|
|
$(PM_gb) $(PM_gb:.pm=.tbl) \
|
62 |
wakaba |
1.5 |
$(PM_ks) $(PM_ks:.pm=.tbl) \
|
63 |
wakaba |
1.6 |
$(PM_kps) $(PM_kps:.pm=.tbl) \
|
64 |
wakaba |
1.7 |
$(PM_iso8859) $(PM_iso8859:.pm=.tbl) \
|
65 |
wakaba |
1.6 |
$(PM_misc) $(PM_misc:.pm=.tbl)
|
66 |
wakaba |
1.10 |
$(PM_photograph) $(PM_photograph:.pm=.tbl)
|