1
2rem         Run this script before opening the Visual C++ project file
3
4rem	The script configures Epos to crosscompile to a palmtop executable
5
6copy ..\win\cpconv2.exe .
7copy ..\win\8859-2.enc .
8copy ..\win\accent.* .
9copy ..\win\convert.bat .
10call convert.bat
11del cpconv2.exe
12
13cd ..\..\src
14
15move agent.cc agent.cpp
16if not exist client.cpp move client.cc client.cpp
17move daemon.cc daemon.cpp
18move encoding.cc encoding.cpp
19move function.cc function.cpp
20move unit.cc unit.cpp
21if not exist hash.cpp move hash.cc hash.cpp
22move hashd.cc hashd.cpp
23move interf.cc interf.cpp
24move options.cc options.cpp
25move ktdsyn.cc ktdsyn.cpp
26move ptdsyn.cc ptdsyn.cpp
27move lpcsyn.cc lpcsyn.cpp
28move monolith.cc monolith.cpp
29move parser.cc parser.cpp
30move rule.cc rule.cpp
31move say-epos.cc say.cpp
32move synth.cc synth.cpp
33move tcpsyn.cc tcpsyn.cpp
34move tdpsyn.cc tdpsyn.cpp
35move text.cc text.cpp
36move ttscp.cc ttscp.cpp
37move voice.cc voice.cpp
38move waveform.cc waveform.cpp
39
40rem        Do not rename exc.cc, block.cc, hashtmpl.cc etc. which are #included by other files
41rem        ...but you need both client.cc and client.cpp as it is invoked
42rem           both directly and indirectly, the same for hash.cc and hash.cpp
43
44if not exist client.cc echo #include "client.cpp" > client.cc
45if not exist hash.cc echo #include "hash.cpp" > hash.cc
46
47del config.h
48copy ..\arch\win-ce\config.in .\config.h
49copy ..\arch\win-ce\epos.vcp .
50rem copy ..\arch\win-ce\eposm.vcp .
51mkdir say
52copy ..\arch\win-ce\say.vcp say
53copy ..\arch\win-ce\epos.vcw .
54
55copy ..\arch\win-ce\stdlib.cpp .
56
57cd ..\cfg\cfg
58
59if not exist ..\..\arch\unix\epos.ini move .\epos.ini ..\..\arch\unix\epos.ini
60copy ..\..\arch\win\epos.ini .\epos.ini
61
62cd ..\..\arch\win-ce
63
64