1 |
|
2 |
PLDIR = tool/
|
3 |
PERL = perl
|
4 |
PERLI = $(PERL) -I$(PLDIR)
|
5 |
TBR2TBL = $(PLDIR)tbr2tbl.pl
|
6 |
TBL2UCM = $(PLDIR)tbl2ucm.pl
|
7 |
TBL2PM = $(PLDIR)tbl2pm.pl
|
8 |
|
9 |
PM_jis = jisx0208_1978.pm jisx0208_1978_irv.pm \
|
10 |
jisx0208_1983.pm jisx0208_1983_irv.pm jisx0208_1990.pm \
|
11 |
jisx0208_1990_open_0201.pm jisx0208_1990_open_ascii.pm \
|
12 |
jisx0208_1997.pm jisx0208_1997_irv.pm jisx0208_1997_latin.pm jisx0208_1997_yen.pm \
|
13 |
jisx0212_1990.pm jisx0212_1990_irv.pm jisx0212_0213.pm \
|
14 |
jisx0212_1990_open_0201.pm jisx0212_1990_open_ascii.pm \
|
15 |
jisx0212_1990_open_ms.pm \
|
16 |
jisx0213_2000_1.pm jisx0213_2000_1_esc_24_42.pm jisx0213_2000_2.pm \
|
17 |
jisx0201_latin.pm jisx0201_katakana.pm ascii_yen.pm \
|
18 |
jisx0208_to_katakana.pm
|
19 |
PM_gb = gb2312_1980.pm gb12345_1990.pm iso_ir_165.pm
|
20 |
PM_ks = ksx1001_1992.pm
|
21 |
PM_kps = kps9566_1997.pm
|
22 |
PM_photograph = imode.pm lmode.pm doti.pm jphone.pm iso_ir_169.pm
|
23 |
PM_misc = iso_ir_231.pm
|
24 |
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 |
all: jis gb ks kps iso8859 photograph misc
|
32 |
|
33 |
jis: $(PM_jis)
|
34 |
jis-tbl: $(PM_jis:.pm=.tbl)
|
35 |
gb: $(PM_gb)
|
36 |
gb-tbl: $(PM_gb:.pm=.tbl)
|
37 |
ks: $(PM_ks)
|
38 |
ks-tbl: $(PM_ks:.pm=.tbl)
|
39 |
kps: $(PM_kps)
|
40 |
kps-tbl: $(PM_kps:.pm=.tbl)
|
41 |
iso8859: $(PM_iso8859)
|
42 |
iso8859-tbl: $(PM_iso8859:.pm=.tbl)
|
43 |
photograph: $(PM_photograph)
|
44 |
photograph-tbl: $(PM_photograph:.pm=.tbl)
|
45 |
misc: $(PM_misc)
|
46 |
misc-tbl: $(PM_misc:.pm=.tbl)
|
47 |
|
48 |
%.tbl: %.tbr $(TBR2TBL)
|
49 |
$(PERLI) $(TBR2TBL) $< > $@
|
50 |
|
51 |
euc_jp_open_ascii.tbl: euc_jp_open_ascii.tbr $(TBR2TBL) \
|
52 |
jisx0208_1990_open_ascii.tbl \
|
53 |
jisx0212_1990_open_ascii.tbl
|
54 |
$(PERLI) $(TBR2TBL) $< > $@
|
55 |
|
56 |
%.ucm: %.tbl $(TBL2UCM)
|
57 |
$(PERLI) $(TBL2UCM) $< > $@
|
58 |
|
59 |
%.pm: %.tbl $(TBL2PM) $(PLDIR)internal.pl
|
60 |
$(PERLI) $(TBL2PM) $< > $@
|
61 |
$(PERLI) -c $@
|
62 |
|
63 |
clean:
|
64 |
rm -rfv *.BAK .*.BAK *~ .*~
|
65 |
rm -ffv $(PM_jis) $(PM_jis:.pm=.tbl) \
|
66 |
$(PM_gb) $(PM_gb:.pm=.tbl) \
|
67 |
$(PM_ks) $(PM_ks:.pm=.tbl) \
|
68 |
$(PM_kps) $(PM_kps:.pm=.tbl) \
|
69 |
$(PM_iso8859) $(PM_iso8859:.pm=.tbl) \
|
70 |
$(PM_misc) $(PM_misc:.pm=.tbl)
|
71 |
$(PM_photograph) $(PM_photograph:.pm=.tbl)
|