/[eiffelstudio]/trunk/Delivery/scripts/windows/make_exes.btm
ViewVC logotype

Contents of /trunk/Delivery/scripts/windows/make_exes.btm

Parent Directory Parent Directory | Revision Log Revision Log


Revision 73839 - (show annotations)
Sun Jun 15 05:27:03 2008 UTC (11 years, 8 months ago) by manus
File size: 10945 byte(s)
Fixed typo in target name.

1 remtrace Compile C code of the libraries
2 remtrace "A tout seigneur tout honneur", let's start with the run-time
3 md %INSTALL_DIR\releases
4 md %INSTALL_DIR\releases\enterprise_version
5 md %INSTALL_DIR\releases\gpl_version
6
7 remtrace Compile the run-times
8 iff not defined WIN64 then
9 remtrace Compile a run-time for MinGW
10 cdd %EIFFEL_SRC\C
11 call configure clean >>& %INSTALL_LOG
12 call configure win32 g >>& %INSTALL_LOG
13 cd %EIFFEL_SRC
14 copy C\run-time\LIB\*.a %STUDIO_DIR\studio\spec\%ISE_PLATFORM\lib\mingw
15
16 remtrace Compile a dynamic run-time for MinGW
17 cdd %EIFFEL_SRC\C
18 call configure clean >>& %INSTALL_LOG
19 call configure win32 g dll >>& %INSTALL_LOG
20 cd %EIFFEL_SRC
21 copy C\run-time\LIB\*dll* %STUDIO_DIR\studio\spec\%ISE_PLATFORM\lib\mingw
22 endiff
23
24 remtrace Compile a dynamic run-time for Microsoft
25 cd %EIFFEL_SRC\C
26 call configure clean >>& %INSTALL_LOG
27 iff defined WIN64 then
28 call configure win64 m dll >>& %INSTALL_LOG
29 else
30 iff defined MSC6 then
31 call configure win32 m6 dll >>& %INSTALL_LOG
32 else
33 call configure win32 m dll >>& %INSTALL_LOG
34 endiff
35 endiff
36 cd %EIFFEL_SRC
37 fullrf C\run-time\LIB\*.exp
38 copy C\run-time\LIB\*dll* %STUDIO_DIR\studio\spec\%ISE_PLATFORM\lib\msc
39 cd %EIFFEL_SRC
40
41 remtrace Compile a run-time for Microsoft
42 cd %EIFFEL_SRC\C
43 call configure clean >>& %INSTALL_LOG
44 iff defined WIN64 then
45 call configure win64 m >>& %INSTALL_LOG
46 else
47 iff defined MSC6 then
48 call configure win32 m6 >>& %INSTALL_LOG
49 else
50 call configure win32 m >>& %INSTALL_LOG
51 endiff
52 endiff
53 cd %EIFFEL_SRC
54 copy C\run-time\LIB\*.lib %STUDIO_DIR\studio\spec\%ISE_PLATFORM\lib\msc
55 iff not defined WIN64 then
56 copy C\desc\ise_desc.dll %STUDIO_DIR\studio\spec\%ISE_PLATFORM\lib\msc
57 copy C\desc\ise_desc.lib %STUDIO_DIR\studio\spec\%ISE_PLATFORM\lib\msc
58 endiff
59
60
61 remtrace Copy the header files
62 copy %EIFFEL_SRC\C\run-time\*.h %STUDIO_DIR\studio\spec\%ISE_PLATFORM\include
63 copy %EIFFEL_SRC\C\eif_confmagic.h %STUDIO_DIR\studio\spec\%ISE_PLATFORM\include
64 cd %EIFFEL_SRC
65
66 remtrace Copy the configuration file
67 iff not defined WIN64 then
68 copy %EIFFEL_SRC\C\CONFIGS\windows-x86-msc %STUDIO_DIR\studio\config\%ISE_PLATFORM\msc\config.sh
69 copy %EIFFEL_SRC\C\CONFIGS\windows-x86-mingw %STUDIO_DIR\studio\config\%ISE_PLATFORM\mingw\config.sh
70 else
71 copy %EIFFEL_SRC\C\CONFIGS\windows-x86-64-msc %STUDIO_DIR\studio\config\%ISE_PLATFORM\msc\config.sh
72 endiff
73
74 remtrace Copy the MSYS part
75 copy %EIFFEL_SRC\C\shell\bin\rt_converter.exe %STUDIO_DIR\studio\spec\%ISE_PLATFORM\bin\
76 copy %EIFFEL_SRC\C\shell\bin\sed.exe %STUDIO_DIR\studio\spec\%ISE_PLATFORM\bin\
77 copy %EIFFEL_SRC\C\shell\bin\msys-1.0.dll %STUDIO_DIR\studio\spec\%ISE_PLATFORM\bin\
78 safe_md %STUDIO_DIR\studio\spec\%ISE_PLATFORM\etc
79 echo Dummy >> %STUDIO_DIR\studio\spec\%ISE_PLATFORM\etc\dummy.txt
80
81 remtrace Then the C libraries
82 cd %EIFFEL_SRC\C_library
83 fullrd .libs
84
85 remtrace libpng
86 cd %EIFFEL_SRC\C_library\libpng
87 default_make
88 remtrace zlib
89 cd %EIFFEL_SRC\C_library\zlib
90 default_make
91
92 REM These directories should already have been created by make_delivery. Whatever...
93 safe_md %STUDIO_DIR\studio\spec
94 safe_md %STUDIO_DIR\studio\spec\%ISE_PLATFORM
95 safe_md %STUDIO_DIR\studio\spec\%ISE_PLATFORM\bin
96
97 remtrace CLI writer
98 cd %EIFFEL_SRC\framework\cli_writer\Clib
99 default_make
100
101 remtrace CLI debugger
102 cd %EIFFEL_SRC\framework\cli_debugger\Clib
103 default_make
104
105 remtrace Compiling .NET components
106 cdd %INIT_DIR
107 call make_dotnet.btm
108 cdd %EIFFEL_SRC
109
110 REM Compiling EiffelStudio stuff
111 iff defined BUILD_ENTERPRISE_ONLY then
112 remtrace Recompile EiffelStudio
113 cdd %FINALIZATION_DIR
114 copy %EIFFEL_SRC\Eiffel\Ace\*.* .
115 copy %EIFFEL_SRC\tools\estudio_enterprise\ec.ecf ec.ecf
116 iff not exist ec.ecf then
117 remtrace Cannot find the finalization Ace for EiffelStudio
118 CANCEL
119 endiff
120
121 remtrace Enterprise edition
122 cdd %EIFFEL_SRC\Eiffel\API\constants
123 bash %INIT_DIR\set_version.sh %EIFFEL_SRC 0000 system_constants.e
124 sed -e "s/Version_type_name:\ STRING\ is\ \"GPL\ Edition\"/Version_type_name:\ STRING\ is\ \"Enterprise\ Edition\"/g" system_constants.e >> new_system_constants.e
125 move new_system_constants.e system_constants.e
126 cdd %FINALIZATION_DIR
127
128 clean_project
129 finalize ec.ecf bench
130 cleanup_eiffel bench ec.exe
131 iff not exist ec.exe then
132 remtrace Could not finalize a new "enterprise_version" EiffelStudio
133 CANCEL
134 endiff
135 move ec.exe %INSTALL_DIR\releases\enterprise_version
136
137 clean_project
138 finalize ec.ecf batch
139 cleanup_eiffel batch ecb.exe
140 iff not exist ecb.exe then
141 remtrace Could not finalize a new batch version of the compiler
142 CANCEL
143 endiff
144 move ecb.exe %INSTALL_DIR\releases\enterprise_version
145 else
146 iff not defined NO_NEW_EC then
147 remtrace GPL edition
148 cdd %EIFFEL_SRC\Eiffel\API\constants
149 bash %INIT_DIR\set_version.sh %EIFFEL_SRC 0000 system_constants.e
150 cdd %FINALIZATION_DIR
151 copy %EIFFEL_SRC\Eiffel\Ace\*.* .
152 clean_project
153 finalize ec.ecf bench
154 cleanup_eiffel bench ec.exe
155 iff not exist ec.exe then
156 remtrace Could not finalize a new "gpl_edition" EiffelStudio
157 CANCEL
158 endiff
159 move ec.exe %INSTALL_DIR\releases\gpl_version
160
161 clean_project
162 finalize ec.ecf batch
163 cleanup_eiffel batch ecb.exe
164 iff not exist ecb.exe then
165 remtrace Could not finalize a new batch version of the compiler
166 CANCEL
167 endiff
168 move ecb.exe %INSTALL_DIR\releases\gpl_version
169
170 remtrace Enterprise edition for EiffelStudio
171 cdd %EIFFEL_SRC\Eiffel\API\constants
172 sed -e "s/Version_type_name:\ STRING\ is\ \"GPL\ Edition\"/Version_type_name:\ STRING\ is\ \"Enterprise\ Edition\"/g" system_constants.e >> new_system_constants.e
173 move new_system_constants.e system_constants.e
174 cdd %FINALIZATION_DIR
175 clean_project
176 copy %EIFFEL_SRC\tools\estudio_enterprise\ec.ecf ec.ecf
177 finalize ec.ecf bench
178 cleanup_eiffel bench ec.exe
179 iff not exist ec.exe then
180 remtrace Could not finalize a new "enterprise_version" EiffelStudio
181 CANCEL
182 endiff
183 move ec.exe %INSTALL_DIR\releases\enterprise_version
184
185 clean_project
186 finalize ec.ecf batch
187 cleanup_eiffel batch ecb.exe
188 iff not exist ecb.exe then
189 remtrace Could not finalize a new batch version of the compiler
190 CANCEL
191 endiff
192 move ecb.exe %INSTALL_DIR\releases\enterprise_version
193 endiff
194 endiff
195
196 remtrace Recompile finish_freezing
197 cdd %EIFFEL_SRC\tools\finish_freezing
198 clean_project
199 finalize finish_freezing.ecf
200 cleanup_eiffel finish_freezing finish_freezing.exe
201 iff not exist finish_freezing.exe then
202 remtrace Could not finalize a new finish_freezing
203 CANCEL
204 endiff
205 move finish_freezing.exe %STUDIO_DIR\studio\spec\%ISE_PLATFORM\bin
206
207 remtrace Recompile emake
208 cdd %EIFFEL_SRC\tools\eiffel_make
209 clean_project
210 finalize emake.ecf
211 cleanup_eiffel emake emake.exe
212 iff not exist emake.exe then
213 remtrace Could not finalize a new emake
214 CANCEL
215 endiff
216 move emake.exe %STUDIO_DIR\studio\spec\%ISE_PLATFORM\bin
217
218 remtrace Recompile quick_finalize
219 cdd %EIFFEL_SRC\tools\quick_finalize
220 clean_project
221 finalize quick_finalize.ecf
222 cleanup_eiffel quick_finalize quick_finalize.exe
223 iff not exist quick_finalize.exe then
224 remtrace Could not finalize a new quick_finalize
225 CANCEL
226 endiff
227 move quick_finalize.exe %STUDIO_DIR\studio\spec\%ISE_PLATFORM\bin
228
229 remtrace Put ecdbgd.exe in the new delivery
230 REM It should already have been compiled by the configure of the run-time.
231 cdd %EIFFEL_SRC\C\ipc\daemon
232 iff not exist ecdbgd.exe then
233 remtrace Could not finalize a new ecdbgd
234 CANCEL
235 endiff
236 move ecdbgd.exe %STUDIO_DIR\studio\spec\%ISE_PLATFORM\bin
237
238 remtrace Put x2c.exe in the new delivery
239 REM It should already have been compiled by the configure of the run-time.
240 cdd %EIFFEL_SRC\C\run-time
241 iff not exist x2c.exe then
242 remtrace Could not finalize a new x2c
243 CANCEL
244 endiff
245 move x2c.exe %STUDIO_DIR\studio\spec\%ISE_PLATFORM\bin
246
247 remtrace Recompile h2e
248 cdd %EIFFEL_SRC\library\wel\extra
249 clean_project
250 finalize h2e.ecf
251 cleanup_eiffel h2e h2e.exe
252 iff not exist h2e.exe then
253 remtrace Could not finalize a new h2e
254 CANCEL
255 endiff
256 move h2e.exe %STUDIO_DIR\studio\spec\%ISE_PLATFORM\bin
257
258
259 remtrace Recompile estudio.exe
260 cdd %EIFFEL_SRC\tools\estudio\config
261 clean_project
262 finalize estudio.ecf estudio
263 cleanup_eiffel estudio estudio.exe
264 iff not exist estudio.exe then
265 remtrace Could not finalize a new estudio
266 CANCEL
267 endiff
268 move estudio.exe %STUDIO_DIR\studio\spec\%ISE_PLATFORM\bin
269
270 remtrace get GDI+ for platforms that don't have it
271 cdd %EIFFEL_SRC\tools
272 co %DEFAULT_ISE_SVN/Src/tools/gdiplus gdiplus
273 move gdiplus\gdiplus.dll %INSTALL_DIR\releases
274
275 remtrace Recompiling EiffelBuild
276 cdd %INIT_DIR
277 call make_build.btm
278
279 remtrace Recompiling Vision2 tour
280 cdd %INIT_DIR
281 call make_vision2_demo.btm
282
283 remtrace Recompile Legacy++
284 cdd %EIFFEL_SRC\tools\legacy\PCCTS
285 safe_md bin
286 nmake /f makefile.win
287 cd ..
288 cd legacy
289 nmake -f makefile.win
290 iff not exist legacy.exe then
291 remtrace Couldnt generate legacy.exe
292 CANCEL
293 endiff
294 move legacy.exe %STUDIO_DIR\studio\spec\%ISE_PLATFORM\bin
295
296 remtrace Getting eweasel source code
297 safe_md %EIFFEL_SRC\eweasel
298 co -r %ORIGO_SVN_REVISION %DEFAULT_ORIGO_SVN/eweasel/compilation %EIFFEL_SRC\eweasel\compilation
299 co -r %ORIGO_SVN_REVISION %DEFAULT_ORIGO_SVN/eweasel/source %EIFFEL_SRC\eweasel\source
300 remtrace Compiling eweasel
301 safe_md %STUDIO_DIR\eweasel
302 safe_md %STUDIO_DIR\eweasel\spec
303 safe_md %STUDIO_DIR\eweasel\spec\%ISE_PLATFORM
304 safe_md %STUDIO_DIR\eweasel\spec\%ISE_PLATFORM\bin
305 cdd %EIFFEL_SRC\eweasel\compilation
306 clean_project
307 set OLD_EWEASEL=%EWEASEL
308 set EWEASEL=%EIFFEL_SRC\eweasel
309 finalize eweasel.ecf eweasel_st
310 cleanup_eiffel eweasel_st eweasel.exe
311 move eweasel.exe %STUDIO_DIR\eweasel\spec\%ISE_PLATFORM\bin
312 set EWEASEL=%OLD_EWEASEL
313 set OLD_EWEASEL=
314
315 remtrace Compiling Gobo tools
316 safe_md %STUDIO_DIR\library\gobo\spec
317 safe_md %STUDIO_DIR\library\gobo\spec\%ISE_PLATFORM
318 safe_md %STUDIO_DIR\library\gobo\spec\%ISE_PLATFORM\bin
319 cdd %EIFFEL_SRC\library\gobo\src
320 clean_project
321 remtrace geant
322 finalize geant.ecf geant
323 cleanup_eiffel geant geant.exe
324 move geant.exe %STUDIO_DIR\library\gobo\spec\%ISE_PLATFORM\bin
325
326 remtrace gec
327 finalize gec.ecf gec
328 cleanup_eiffel gec gec.exe
329 move gec.exe %STUDIO_DIR\library\gobo\spec\%ISE_PLATFORM\bin
330
331 remtrace gelex
332 finalize gelex.ecf gelex
333 cleanup_eiffel gelex gelex.exe
334 move gelex.exe %STUDIO_DIR\library\gobo\spec\%ISE_PLATFORM\bin
335
336 remtrace gelint
337 finalize gelint.ecf gelint
338 cleanup_eiffel gelint gelint.exe
339 move gelint.exe %STUDIO_DIR\library\gobo\spec\%ISE_PLATFORM\bin
340
341 remtrace gepp
342 finalize gepp.ecf gepp
343 cleanup_eiffel gepp gepp.exe
344 move gepp.exe %STUDIO_DIR\library\gobo\spec\%ISE_PLATFORM\bin
345
346 remtrace getest
347 finalize getest.ecf getest
348 cleanup_eiffel getest getest.exe
349 move getest.exe %STUDIO_DIR\library\gobo\spec\%ISE_PLATFORM\bin
350
351 remtrace gexace
352 finalize gexace.ecf gexace
353 cleanup_eiffel gexace gexace.exe
354 move gexace.exe %STUDIO_DIR\library\gobo\spec\%ISE_PLATFORM\bin
355
356 remtrace gexslt
357 finalize gexslt.ecf gexslt
358 cleanup_eiffel gexslt gexslt.exe
359 move gexslt.exe %STUDIO_DIR\library\gobo\spec\%ISE_PLATFORM\bin
360
361 remtrace geyacc
362 finalize geyacc.ecf geyacc
363 cleanup_eiffel geyacc geyacc.exe
364 move geyacc.exe %STUDIO_DIR\library\gobo\spec\%ISE_PLATFORM\bin
365

Properties

Name Value
svn:eol-style native
svn:keywords Author Date Id Revision

  ViewVC Help
Powered by ViewVC 1.1.23