/[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 69108 - (show annotations)
Fri Jun 15 04:45:26 2007 UTC (12 years, 7 months ago) by manus
File size: 8512 byte(s)
Fixed failed creation of directory because it is not recursive.

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 Borland
10 cdd %EIFFEL_SRC
11 cd C
12 call configure clean >>& %INSTALL_LOG
13 call configure win32 b >>& %INSTALL_LOG
14 cd %EIFFEL_SRC
15 copy C\run-time\LIB\*.lib %STUDIO_DIR\studio\spec\%ISE_PLATFORM\lib\bcb
16 endiff
17
18 remtrace Compile a dynamic run-time for Microsoft
19 cd %EIFFEL_SRC\C
20 call configure clean >>& %INSTALL_LOG
21 iff defined WIN64 then
22 call configure win64 m dll >>& %INSTALL_LOG
23 else
24 iff defined MSC6 then
25 call configure win32 m6 dll >>& %INSTALL_LOG
26 else
27 call configure win32 m dll >>& %INSTALL_LOG
28 endiff
29 endiff
30 cd %EIFFEL_SRC
31 fullrf C\run-time\LIB\*.exp
32 copy C\run-time\LIB\*dll* %STUDIO_DIR\studio\spec\%ISE_PLATFORM\lib\msc
33 cd %EIFFEL_SRC
34
35 remtrace Compile a run-time for Microsoft
36 cd %EIFFEL_SRC\C
37 call configure clean >>& %INSTALL_LOG
38 iff defined WIN64 then
39 call configure win64 m >>& %INSTALL_LOG
40 else
41 iff defined MSC6 then
42 call configure win32 m6 >>& %INSTALL_LOG
43 else
44 call configure win32 m >>& %INSTALL_LOG
45 endiff
46 endiff
47 cd %EIFFEL_SRC
48 copy C\run-time\LIB\*.lib %STUDIO_DIR\studio\spec\%ISE_PLATFORM\lib\msc
49 iff not defined WIN64 then
50 copy C\desc\ise_desc.dll %STUDIO_DIR\studio\spec\%ISE_PLATFORM\lib\msc
51 copy C\desc\ise_desc.lib %STUDIO_DIR\studio\spec\%ISE_PLATFORM\lib\msc
52 endiff
53
54
55 remtrace Copy the header files
56 copy %EIFFEL_SRC\C\run-time\*.h %STUDIO_DIR\studio\spec\%ISE_PLATFORM\include
57 copy %EIFFEL_SRC\C\eif_confmagic.h %STUDIO_DIR\studio\spec\%ISE_PLATFORM\include
58 cd %EIFFEL_SRC
59
60 remtrace Then the C libraries
61 cd %EIFFEL_SRC\C_library
62 fullrd .libs
63
64 remtrace libpng
65 cd %EIFFEL_SRC\C_library\libpng
66 default_make
67 remtrace zlib
68 cd %EIFFEL_SRC\C_library\zlib
69 default_make
70
71 REM These directories should already have been created by make_delivery. Whatever...
72 safe_md %STUDIO_DIR\studio\spec
73 safe_md %STUDIO_DIR\studio\spec\%ISE_PLATFORM
74 safe_md %STUDIO_DIR\studio\spec\%ISE_PLATFORM\bin
75
76 remtrace CLI writer
77 cd %EIFFEL_SRC\framework\cli_writer\Clib
78 call nmake
79
80 remtrace CLI debugger
81 cd %EIFFEL_SRC\framework\cli_debugger\Clib
82 call nmake
83
84 remtrace Compiling .NET components
85 cdd %INIT_DIR
86 call make_dotnet.btm
87 cdd %EIFFEL_SRC
88
89 REM Compiling EiffelStudio stuff
90 iff defined BUILD_ENTERPRISE_ONLY then
91 remtrace Recompile EiffelStudio
92 cdd %FINALIZATION_DIR
93 copy %EIFFEL_SRC\Eiffel\Ace\*.* .
94 copy %EIFFEL_SRC\tools\estudio_enterprise\ec.ecf ec.ecf
95 iff not exist ec.ecf then
96 remtrace Cannot find the finalization Ace for EiffelStudio
97 CANCEL
98 endiff
99
100 remtrace Enterprise edition
101 cdd %EIFFEL_SRC\Eiffel\API\constants
102 bash %INIT_DIR\set_version.sh %DEFAULT_ORIGO_SVN 0000 system_constants.e
103 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
104 move new_system_constants.e system_constants.e
105 cdd %FINALIZATION_DIR
106 clean_project
107 finalize ec.ecf bench
108 cleanup_eiffel bench ec.exe
109 iff not exist ec.exe then
110 remtrace Could not finalize a new "enterprise_version" EiffelStudio
111 CANCEL
112 endiff
113 move ec.exe %INSTALL_DIR\releases\enterprise_version
114 else
115 iff not defined NO_NEW_EC then
116 remtrace GPL edition
117 cdd %EIFFEL_SRC\Eiffel\API\constants
118 bash %INIT_DIR\set_version.sh %DEFAULT_ORIGO_SVN 0000 system_constants.e
119 cdd %FINALIZATION_DIR
120 copy %EIFFEL_SRC\Eiffel\Ace\*.* .
121 clean_project
122 finalize ec.ecf bench
123 cleanup_eiffel bench ec.exe
124 iff not exist ec.exe then
125 remtrace Could not finalize a new "gpl_edition" EiffelStudio
126 CANCEL
127 endiff
128 move ec.exe %INSTALL_DIR\releases\gpl_version
129
130 remtrace Enterprise edition for EiffelStudio
131 cdd %EIFFEL_SRC\Eiffel\API\constants
132 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
133 move new_system_constants.e system_constants.e
134 cdd %FINALIZATION_DIR
135 clean_project
136 copy %EIFFEL_SRC\tools\estudio_enterprise\ec.ecf ec.ecf
137 finalize ec.ecf bench
138 cleanup_eiffel bench ec.exe
139 iff not exist ec.exe then
140 remtrace Could not finalize a new "enterprise_version" EiffelStudio
141 CANCEL
142 endiff
143 move ec.exe %INSTALL_DIR\releases\enterprise_version
144
145 endiff
146 endiff
147
148 remtrace Recompile finish_freezing
149 cdd %EIFFEL_SRC\tools\finish_freezing
150 clean_project
151 finalize finish_freezing.ecf
152 cleanup_eiffel finish_freezing finish_freezing.exe
153 iff not exist finish_freezing.exe then
154 remtrace Could not finalize a new finish_freezing
155 CANCEL
156 endiff
157 move finish_freezing.exe %STUDIO_DIR\studio\spec\%ISE_PLATFORM\bin
158
159 remtrace Recompile emake
160 cdd %EIFFEL_SRC\tools\eiffel_make
161 clean_project
162 finalize emake.ecf
163 cleanup_eiffel emake emake.exe
164 iff not exist emake.exe then
165 remtrace Could not finalize a new emake
166 CANCEL
167 endiff
168 move emake.exe %STUDIO_DIR\studio\spec\%ISE_PLATFORM\bin
169
170 remtrace Recompile quick_finalize
171 cdd %EIFFEL_SRC\tools\quick_finalize
172 clean_project
173 finalize quick_finalize.ecf
174 cleanup_eiffel quick_finalize quick_finalize.exe
175 iff not exist quick_finalize.exe then
176 remtrace Could not finalize a new quick_finalize
177 CANCEL
178 endiff
179 move quick_finalize.exe %STUDIO_DIR\studio\spec\%ISE_PLATFORM\bin
180
181 remtrace Put ecdbgd.exe in the new delivery
182 REM It should already have been compiled by the configure of the run-time.
183 cdd %EIFFEL_SRC\C\ipc\daemon
184 iff not exist ecdbgd.exe then
185 remtrace Could not finalize a new ecdbgd
186 CANCEL
187 endiff
188 move ecdbgd.exe %STUDIO_DIR\studio\spec\%ISE_PLATFORM\bin
189
190 remtrace Put x2c.exe in the new delivery
191 REM It should already have been compiled by the configure of the run-time.
192 cdd %EIFFEL_SRC\C\run-time
193 iff not exist x2c.exe then
194 remtrace Could not finalize a new x2c
195 CANCEL
196 endiff
197 move x2c.exe %STUDIO_DIR\studio\spec\%ISE_PLATFORM\bin
198
199 remtrace Recompile h2e
200 cdd %EIFFEL_SRC\library\wel\extra
201 clean_project
202 finalize h2e.ecf
203 cleanup_eiffel h2e h2e.exe
204 iff not exist h2e.exe then
205 remtrace Could not finalize a new h2e
206 CANCEL
207 endiff
208 move h2e.exe %STUDIO_DIR\studio\spec\%ISE_PLATFORM\bin
209
210
211 remtrace Recompile estudio.exe
212 cdd %EIFFEL_SRC\tools\estudio\config
213 clean_project
214 finalize estudio.ecf estudio
215 cleanup_eiffel estudio estudio.exe
216 iff not exist estudio.exe then
217 remtrace Could not finalize a new estudio
218 CANCEL
219 endiff
220 move estudio.exe %STUDIO_DIR\studio\spec\%ISE_PLATFORM\bin
221
222 remtrace get GDI+ for platforms that don't have it
223 cdd %EIFFEL_SRC\tools
224 co %DEFAULT_ISE_SVN/Src/tools/gdiplus gdiplus
225 move gdiplus\gdiplus.dll %INSTALL_DIR\releases
226
227 remtrace Recompiling EiffelBuild
228 cdd %INIT_DIR
229 call make_build.btm
230
231 remtrace Recompiling Vision2 tour
232 cdd %INIT_DIR
233 call make_vision2_demo.btm
234
235 remtrace Recompile Legacy++
236 cdd %EIFFEL_SRC\tools\legacy\PCCTS
237 safe_md bin
238 nmake /f makefile.win
239 cd ..
240 cd legacy
241 nmake -f makefile.win
242 iff not exist legacy.exe then
243 remtrace Couldnt generate legacy.exe
244 CANCEL
245 endiff
246 move legacy.exe %STUDIO_DIR\studio\spec\%ISE_PLATFORM\bin
247
248 remtrace Compiling Gobo tools
249 safe_md %STUDIO_DIR\library\gobo\spec
250 safe_md %STUDIO_DIR\library\gobo\spec\%ISE_PLATFORM
251 safe_md %STUDIO_DIR\library\gobo\spec\%ISE_PLATFORM\bin
252 cdd %EIFFEL_SRC\library\gobo\src
253 clean_project
254 remtrace geant
255 finalize geant.ecf geant
256 cleanup_eiffel geant geant.exe
257 move geant.exe %STUDIO_DIR\library\gobo\spec\%ISE_PLATFORM\bin
258
259 remtrace gec
260 finalize gec.ecf gec
261 cleanup_eiffel gec gec.exe
262 move gec.exe %STUDIO_DIR\library\gobo\spec\%ISE_PLATFORM\bin
263
264 remtrace gelex
265 finalize gelex.ecf gelex
266 cleanup_eiffel gelex gelex.exe
267 move gelex.exe %STUDIO_DIR\library\gobo\spec\%ISE_PLATFORM\bin
268
269 remtrace gelint
270 finalize gelint.ecf gelint
271 cleanup_eiffel gelint gelint.exe
272 move gelint.exe %STUDIO_DIR\library\gobo\spec\%ISE_PLATFORM\bin
273
274 remtrace gepp
275 finalize gepp.ecf gepp
276 cleanup_eiffel gepp gepp.exe
277 move gepp.exe %STUDIO_DIR\library\gobo\spec\%ISE_PLATFORM\bin
278
279 remtrace getest
280 finalize getest.ecf getest
281 cleanup_eiffel getest getest.exe
282 move getest.exe %STUDIO_DIR\library\gobo\spec\%ISE_PLATFORM\bin
283
284 remtrace gexace
285 finalize gexace.ecf gexace
286 cleanup_eiffel gexace gexace.exe
287 move gexace.exe %STUDIO_DIR\library\gobo\spec\%ISE_PLATFORM\bin
288
289 remtrace gexslt
290 finalize gexslt.ecf gexslt
291 cleanup_eiffel gexslt gexslt.exe
292 move gexslt.exe %STUDIO_DIR\library\gobo\spec\%ISE_PLATFORM\bin
293
294 remtrace geyacc
295 finalize geyacc.ecf geyacc
296 cleanup_eiffel geyacc geyacc.exe
297 move geyacc.exe %STUDIO_DIR\library\gobo\spec\%ISE_PLATFORM\bin
298

Properties

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

  ViewVC Help
Powered by ViewVC 1.1.23