about summary refs log tree commit diff stats
path: root/src/chrtrans/Makefile.old
blob: c4b04b2f1eaba5643817ffa51025326c14e6661c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
#
# Makefile for the makeuctb and unicode tables.
#
# This may not yet work for the general case.
# Only some dependencies included.
#
#
CFLAGS = $(MCFLAGS) -I.. -I../.. -I../../WWW/Library/Implementation

.SUFFIXES: .tbl
#
# This file contains the font map for the default (hardware) font
#

FONTMAP_INC = iso01_uni.h# default, if not set by recursive call

### #include $(TOPDIR)/Rules.make ???

### fastdep: $(FONTMAP_INC)

### MCFLAGS=-g -DUNIX -DLINUX -DNO_KEYPAD -DNO_TTYTYPE -DEXP_CHARTRANS -I.. -I../../WWW/Library/Implementation -I../..

TABLES= \
 cp1250_uni.h \
 cp1251_uni.h \
 cp1252_uni.h \
 cp1253_uni.h \
 cp1255_uni.h \
 cp1256_uni.h \
 cp1257_uni.h \
 cp437_uni.h \
 cp737_uni.h \
 cp850_uni.h \
 cp852_uni.h \
 cp862_uni.h \
 cp864_uni.h \
 cp866_uni.h \
 cp869_uni.h \
 def7_uni.h \
 dmcs_uni.h \
 iso01_uni.h \
 iso02_uni.h \
 iso03_uni.h \
 iso04_uni.h \
 iso05_uni.h \
 iso06_uni.h \
 iso07_uni.h \
 iso08_uni.h \
 iso09_uni.h \
 iso10_uni.h \
 koi8r_uni.h \
 mac_uni.h \
 mnem_suni.h \
 mnem2_suni.h \
 next_uni.h \
 rfc_suni.h \
 utf8_uni.h \
 viscii_uni.h

default: $(FONTMAP_INC)

tables: $(TABLES)

makeuctb: makeuctb.c UCkd.h
	$(CC) $(CFLAGS) -o makeuctb makeuctb.c

.tbl.h:
	./makeuctb $*.tbl > $@

cp1250_uni.h: cp1250_uni.tbl makeuctb
cp1251_uni.h: cp1251_uni.tbl makeuctb
cp1252_uni.h: cp1252_uni.tbl makeuctb
cp1253_uni.h: cp1253_uni.tbl makeuctb
cp1255_uni.h: cp1255_uni.tbl makeuctb
cp1256_uni.h: cp1256_uni.tbl makeuctb
cp1257_uni.h: cp1257_uni.tbl makeuctb
cp437_uni.h: cp437_uni.tbl makeuctb
cp737_uni.h: cp737_uni.tbl makeuctb
cp850_uni.h: cp850_uni.tbl makeuctb
cp852_uni.h: cp852_uni.tbl makeuctb
cp862_uni.h: cp862_uni.tbl makeuctb
cp864_uni.h: cp864_uni.tbl makeuctb
cp866_uni.h: cp866_uni.tbl makeuctb
cp869_uni.h: cp869_uni.tbl makeuctb
def7_uni.h: def7_uni.tbl makeuctb
dmcs_uni.h: dmcs_uni.tbl makeuctb
iso01_uni.h: iso01_uni.tbl makeuctb
iso02_uni.h: iso02_uni.tbl makeuctb
iso03_uni.h: iso03_uni.tbl makeuctb
iso04_uni.h: iso04_uni.tbl makeuctb
iso05_uni.h: iso05_uni.tbl makeuctb
iso06_uni.h: iso06_uni.tbl makeuctb
iso07_uni.h: iso07_uni.tbl makeuctb
iso08_uni.h: iso08_uni.tbl makeuctb
iso09_uni.h: iso09_uni.tbl makeuctb
iso10_uni.h: iso10_uni.tbl makeuctb
koi8r_uni.h: koi8r_uni.tbl makeuctb
mac_uni.h: mac_uni.tbl makeuctb
mnem_suni.h: mnem_suni.tbl makeuctb
mnem2_suni.h: mnem2_suni.tbl makeuctb
next_uni.h: next_uni.tbl makeuctb
rfc_suni.h: rfc_suni.tbl makeuctb
utf8_uni.h: utf8_uni.tbl makeuctb
viscii_uni.h: viscii_uni.tbl makeuctb

clean:
	rm -f makeuctb *.o *uni.h

distclean: clean
	-rm -rf obsolete
	rm -f core *.bak *.sav *~ *.h_old