summaryrefslogtreecommitdiffstats
path: root/src/chrtrans/makefile.msc
blob: 8dd8ace472782fa855b0ccdb6d8875d7855c4f3f (plain)
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
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
#
# Makefile for Microsoft Visual C++ 4.2 or later
#

CC       = cl
LD       = link

INCLUDES = /I "." /I ".." /I "..\.." /I "..\..\WWW\Library\Implementation" /I "..\..\lib"
DEFS = /D "WIN32_LEAN_AND_MEAN" /D "NDEBUG" /D "__WIN32__" /D "WIN32" /D "_CONSOLE" /D "_MBCS" /D "_WIN32" /D "NO_FILEIO_H" /D "NO_UNISTD_H" /D "_WINDOWS" /D "DOSPATH"
CFLAGS   = /nologo /MT /W3 /EHsc /O2 /c

MACHINE  = i386
LDFLAGS  = /nologo /subsystem:console /incremental:no /machine:$(MACHINE)
LIBS     = user32.lib wsock32.lib

COMPILE = $(CC) $(CFLAGS) $(INCLUDES) $(DEFS)
LINK    = $(LD) $(LDFLAGS) /out:$@


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

FONTMAP_INC = iso01_un.h

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 \
 cp775_uni.h \
 cp850_uni.h \
 cp852_uni.h \
 cp857_uni.h \
 cp862_uni.h \
 cp864_uni.h \
 cp866_uni.h \
 cp866u_uni.h \
 cp869_uni.h \
 def7_uni.h \
 dmcs_uni.h \
 hp_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 \
 iso13_uni.h \
 iso14_uni.h \
 iso15_uni.h \
 iso16_uni.h \
 koi8r_uni.h \
 koi8u_uni.h \
 mac_uni.h \
 mnem2_suni.h \
 mnem_suni.h \
 next_uni.h \
 pt154_uni.h \
 rfc_suni.h \
 utf8_uni.h \
 viscii_uni.h

default: $(TABLES)

fontmap: $(FONTMAP_INC)

makeuctb.exe : makeuctb.obj
	$(LINK) makeuctb.obj $(LIBS)

makeuctb.obj :  makeuctb.c
	$(COMPILE) makeuctb.c

.tbl.h:
	makeuctb $*.tbl

cp1250_uni.h:		cp1250_uni.tbl		makeuctb.exe
cp1251_uni.h:		cp1251_uni.tbl		makeuctb.exe
cp1252_uni.h:		cp1252_uni.tbl		makeuctb.exe
cp1253_uni.h:		cp1253_uni.tbl		makeuctb.exe
cp1255_uni.h:		cp1255_uni.tbl		makeuctb.exe
cp1256_uni.h:		cp1256_uni.tbl		makeuctb.exe
cp1257_uni.h:		cp1257_uni.tbl		makeuctb.exe
cp437_uni.h:		cp437_uni.tbl		makeuctb.exe
cp737_uni.h:		cp737_uni.tbl		makeuctb.exe
cp775_uni.h:		cp775_uni.tbl		makeuctb.exe
cp850_uni.h:		cp850_uni.tbl		makeuctb.exe
cp852_uni.h:		cp852_uni.tbl		makeuctb.exe
cp857_uni.h:		cp857_uni.tbl		makeuctb.exe
cp862_uni.h:		cp862_uni.tbl		makeuctb.exe
cp864_uni.h:		cp864_uni.tbl		makeuctb.exe
cp866_uni.h:		cp866_uni.tbl		makeuctb.exe
cp866u_uni.h:		cp866u_uni.tbl		makeuctb.exe
cp869_uni.h:		cp869_uni.tbl		makeuctb.exe
def7_uni.h:		def7_uni.tbl		makeuctb.exe
dmcs_uni.h:		dmcs_uni.tbl		makeuctb.exe
hp_uni.h:               hp_uni.tbl              makeuctb.exe
iso01_uni.h:		iso01_uni.tbl		makeuctb.exe
iso02_uni.h:		iso02_uni.tbl		makeuctb.exe
iso03_uni.h:		iso03_uni.tbl		makeuctb.exe
iso04_uni.h:		iso04_uni.tbl		makeuctb.exe
iso05_uni.h:		iso05_uni.tbl		makeuctb.exe
iso06_uni.h:		iso06_uni.tbl		makeuctb.exe
iso07_uni.h:		iso07_uni.tbl		makeuctb.exe
iso08_uni.h:		iso08_uni.tbl		makeuctb.exe
iso09_uni.h:		iso09_uni.tbl		makeuctb.exe
iso10_uni.h:		iso10_uni.tbl		makeuctb.exe
iso13_uni.h:		iso13_uni.tbl		makeuctb.exe
iso14_uni.h:		iso14_uni.tbl		makeuctb.exe
iso15_uni.h:		iso15_uni.tbl		makeuctb.exe
iso16_uni.h:		iso16_uni.tbl		makeuctb.exe
koi8r_uni.h:		koi8r_uni.tbl		makeuctb.exe
koi8u_uni.h:		koi8u_uni.tbl		makeuctb.exe
mac_uni.h:		mac_uni.tbl		makeuctb.exe
mnem2_suni.h:		mnem2_suni.tbl		makeuctb.exe
mnem_suni.h:		mnem_suni.tbl		makeuctb.exe
next_uni.h:		next_uni.tbl		makeuctb.exe
pt154_uni.h:		pt154_uni.tbl		makeuctb.exe
rfc_suni.h:		rfc_suni.tbl		makeuctb.exe
utf8_uni.h:		utf8_uni.tbl		makeuctb.exe
viscii_uni.h:		viscii_uni.tbl		makeuctb.exe

clean :
	- erase *.obj
	- erase *.exe
	- for %%i in ( $(TABLES) ) do erase %%i

distclean : clean
	- erase *.bak