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 |
|
|
jisx0213_2000_1.pm jisx0213_2000_2.pm
|
13 |
|
|
|
14 |
|
|
jis: $(PM_jis)
|
15 |
|
|
|
16 |
wakaba |
1.1 |
%.tbl: %.tbr $(TBR2TBL)
|
17 |
|
|
$(PERLI) $(TBR2TBL) $< > $@
|
18 |
|
|
|
19 |
|
|
%.ucm: %.tbl $(TBL2UCM)
|
20 |
|
|
$(PERLI) $(TBL2UCM) $< > $@
|
21 |
|
|
|
22 |
|
|
%.pm: %.tbl $(TBL2PM) $(PLDIR)internal.pl
|
23 |
|
|
$(PERLI) $(TBL2PM) $< > $@
|
24 |
|
|
|
25 |
|
|
clean:
|
26 |
|
|
rm -rfv *.BAK .*.BAK *~ .*~
|
27 |
wakaba |
1.2 |
rm -ffv $(PM_jis) $(PM_jis:.pm=.tbl)
|