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.2 |
PM_jis = jisx0208_1978.pm jisx0208_1983.pm jisx0208_1990.pm \
|
10 |
|
|
jisx0208_1997.pm jisx0208_1997_irv.pm jisx0208_1997_latin.pm \
|
11 |
|
|
jisx0212_1990.pm jisx0212_1990_irv.pm jisx0212_0213.pm \
|
12 |
wakaba |
1.3 |
jisx0213_2000_1.pm jisx0213_2000_1_esc_24_42.pm jisx0213_2000_2.pm \
|
13 |
|
|
jisx0201_latin.pm jisx0201_katakana.pm
|
14 |
wakaba |
1.4 |
PM_gb = gb2312_1980.pm gb12345_1990.pm iso_ir_165.pm
|
15 |
|
|
PM_kps = kps9566_1997.pm
|
16 |
wakaba |
1.2 |
|
17 |
|
|
jis: $(PM_jis)
|
18 |
wakaba |
1.3 |
jis-tbl: $(PM_jis:.pm=.tbl)
|
19 |
wakaba |
1.4 |
gb: $(PM_gb)
|
20 |
|
|
gb-tbl: $(PM_gb:.pm=.tbl)
|
21 |
|
|
kps: $(PM_kps)
|
22 |
|
|
kps-tbl: $(PM_kps:.pm=.tbl)
|
23 |
wakaba |
1.2 |
|
24 |
wakaba |
1.1 |
%.tbl: %.tbr $(TBR2TBL)
|
25 |
|
|
$(PERLI) $(TBR2TBL) $< > $@
|
26 |
|
|
|
27 |
|
|
%.ucm: %.tbl $(TBL2UCM)
|
28 |
|
|
$(PERLI) $(TBL2UCM) $< > $@
|
29 |
|
|
|
30 |
|
|
%.pm: %.tbl $(TBL2PM) $(PLDIR)internal.pl
|
31 |
|
|
$(PERLI) $(TBL2PM) $< > $@
|
32 |
|
|
|
33 |
|
|
clean:
|
34 |
|
|
rm -rfv *.BAK .*.BAK *~ .*~
|
35 |
wakaba |
1.4 |
rm -ffv $(PM_jis) $(PM_jis:.pm=.tbl) \
|
36 |
|
|
$(PM_gb) $(PM_gb:.pm=.tbl) \
|
37 |
|
|
$(PM_kps) $(PM_kps:.pm=.tbl)
|