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.2 |
jisx0208_1997.pm jisx0208_1997_irv.pm jisx0208_1997_latin.pm \
|
12 |
|
|
jisx0212_1990.pm jisx0212_1990_irv.pm jisx0212_0213.pm \
|
13 |
wakaba |
1.3 |
jisx0213_2000_1.pm jisx0213_2000_1_esc_24_42.pm jisx0213_2000_2.pm \
|
14 |
|
|
jisx0201_latin.pm jisx0201_katakana.pm
|
15 |
wakaba |
1.4 |
PM_gb = gb2312_1980.pm gb12345_1990.pm iso_ir_165.pm
|
16 |
wakaba |
1.5 |
PM_ks = ksx1001_1992.pm
|
17 |
wakaba |
1.4 |
PM_kps = kps9566_1997.pm
|
18 |
wakaba |
1.6 |
PM_misc = iso_ir_169.pm iso_ir_231.pm
|
19 |
wakaba |
1.7 |
PM_iso8859 = isoiec8859_2.pm isoiec8859_3.pm isoiec8859_4.pm \
|
20 |
|
|
isoiec8859_5.pm isoiec8859_6.pm isoiec8859_7.pm \
|
21 |
|
|
isoiec8859_8.pm isoiec8859_8_1999.pm isoiec8859_9.pm \
|
22 |
|
|
isoiec8859_10.pm isoiec8859_11.pm isoiec8859_13.pm \
|
23 |
|
|
isoiec8859_14.pm isoiec8859_15.pm isoiec8859_16.pm \
|
24 |
|
|
iso_ir_204.pm iso_ir_205.pm iso_ir_206.pm
|
25 |
|
|
|
26 |
|
|
all: jis gb ks kps iso8859 misc
|
27 |
wakaba |
1.2 |
|
28 |
|
|
jis: $(PM_jis)
|
29 |
wakaba |
1.3 |
jis-tbl: $(PM_jis:.pm=.tbl)
|
30 |
wakaba |
1.4 |
gb: $(PM_gb)
|
31 |
|
|
gb-tbl: $(PM_gb:.pm=.tbl)
|
32 |
wakaba |
1.5 |
ks: $(PM_ks)
|
33 |
|
|
ks-tbl: $(PM_ks:.pm=.tbl)
|
34 |
wakaba |
1.4 |
kps: $(PM_kps)
|
35 |
|
|
kps-tbl: $(PM_kps:.pm=.tbl)
|
36 |
wakaba |
1.7 |
iso8859: $(PM_iso8859)
|
37 |
|
|
iso8859-tbl: $(PM_iso8859:.pm=.tbl)
|
38 |
wakaba |
1.6 |
misc: $(PM_misc)
|
39 |
|
|
misc-tbl: $(PM_misc:.pm=.tbl)
|
40 |
wakaba |
1.2 |
|
41 |
wakaba |
1.1 |
%.tbl: %.tbr $(TBR2TBL)
|
42 |
|
|
$(PERLI) $(TBR2TBL) $< > $@
|
43 |
|
|
|
44 |
|
|
%.ucm: %.tbl $(TBL2UCM)
|
45 |
|
|
$(PERLI) $(TBL2UCM) $< > $@
|
46 |
|
|
|
47 |
|
|
%.pm: %.tbl $(TBL2PM) $(PLDIR)internal.pl
|
48 |
|
|
$(PERLI) $(TBL2PM) $< > $@
|
49 |
|
|
|
50 |
|
|
clean:
|
51 |
|
|
rm -rfv *.BAK .*.BAK *~ .*~
|
52 |
wakaba |
1.4 |
rm -ffv $(PM_jis) $(PM_jis:.pm=.tbl) \
|
53 |
|
|
$(PM_gb) $(PM_gb:.pm=.tbl) \
|
54 |
wakaba |
1.5 |
$(PM_ks) $(PM_ks:.pm=.tbl) \
|
55 |
wakaba |
1.6 |
$(PM_kps) $(PM_kps:.pm=.tbl) \
|
56 |
wakaba |
1.7 |
$(PM_iso8859) $(PM_iso8859:.pm=.tbl) \
|
57 |
wakaba |
1.6 |
$(PM_misc) $(PM_misc:.pm=.tbl)
|