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

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

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 32728 by manus, Sun Jun 2 22:16:10 2002 UTC revision 32729 by manus, Fri Jul 5 19:05:28 2002 UTC
# Line 9  remtrace Compile C code of the libraries Line 9  remtrace Compile C code of the libraries
9  remtrace "A tout seigneur tout honneur", let's start with the run-time  remtrace "A tout seigneur tout honneur", let's start with the run-time
10  md %INSTALL_DIR\releases  md %INSTALL_DIR\releases
11  md %INSTALL_DIR\releases\enterprise  md %INSTALL_DIR\releases\enterprise
12  md %INSTALL_DIR\releases\professional  md %INSTALL_DIR\releases\free_version
 md %INSTALL_DIR\releases\home  
 md %INSTALL_DIR\releases\student  
13  md %INSTALL_DIR\releases\evaluation  md %INSTALL_DIR\releases\evaluation
14    
15  mkdir %INSTALL_DIR\releases\home\lib  mkdir %INSTALL_DIR\releases\free_version\lib
16  mkdir %INSTALL_DIR\releases\home\lib\bcb  mkdir %INSTALL_DIR\releases\free_version\lib\bcb
17  mkdir %INSTALL_DIR\releases\home\lib\msc  mkdir %INSTALL_DIR\releases\free_version\lib\msc
18  mkdir %INSTALL_DIR\releases\enterprise\lib  mkdir %INSTALL_DIR\releases\enterprise\lib
19  mkdir %INSTALL_DIR\releases\enterprise\lib\bcb  mkdir %INSTALL_DIR\releases\enterprise\lib\bcb
20  mkdir %INSTALL_DIR\releases\enterprise\lib\msc  mkdir %INSTALL_DIR\releases\enterprise\lib\msc
# Line 34  iff not defined BUILD_ENTERPRISE_ONLY th Line 32  iff not defined BUILD_ENTERPRISE_ONLY th
32          call configure win32 b >>& %INSTALL_LOG          call configure win32 b >>& %INSTALL_LOG
33          unalias pause          unalias pause
34          cd %EIFFEL_SRC          cd %EIFFEL_SRC
35          copy C\run-time\LIB\*.lib %INSTALL_DIR\releases\home\lib\bcb          copy C\run-time\LIB\*.lib %INSTALL_DIR\releases\free_version\lib\bcb
36          fullrf %INSTALL_DIR\releases\home\lib\bcb\ebench.lib          fullrf %INSTALL_DIR\releases\free_version\lib\bcb\ebench.lib
37    
38          remtrace Compile a dynamic run-time          remtrace Compile a dynamic run-time
39          fullrd C          fullrd C
# Line 54  iff not defined BUILD_ENTERPRISE_ONLY th Line 52  iff not defined BUILD_ENTERPRISE_ONLY th
52          call configure win32 m >>& %INSTALL_LOG          call configure win32 m >>& %INSTALL_LOG
53          unalias pause          unalias pause
54          cd %EIFFEL_SRC          cd %EIFFEL_SRC
55          copy C\run-time\LIB\*dll* %INSTALL_DIR\releases\home\lib\msc          copy C\run-time\LIB\*dll* %INSTALL_DIR\releases\free_version\lib\msc
56          fullrf %INSTALL_DIR\releases\home\lib\msc\*.exp          fullrf %INSTALL_DIR\releases\free_version\lib\msc\*.exp
57          fullrf %INSTALL_DIR\releases\home\lib\msc\ebench.lib          fullrf %INSTALL_DIR\releases\free_version\lib\msc\ebench.lib
58          cd %EIFFEL_SRC          cd %EIFFEL_SRC
59    
60          remtrace Compile a run-time for Microsoft          remtrace Compile a run-time for Microsoft
# Line 72  iff not defined BUILD_ENTERPRISE_ONLY th Line 70  iff not defined BUILD_ENTERPRISE_ONLY th
70          call configure win32 m >>& %INSTALL_LOG          call configure win32 m >>& %INSTALL_LOG
71          unalias pause          unalias pause
72          cd %EIFFEL_SRC          cd %EIFFEL_SRC
73          copy C\run-time\LIB\*.lib %INSTALL_DIR\releases\home\lib\msc          copy C\run-time\LIB\*.lib %INSTALL_DIR\releases\free_version\lib\msc
74          copy C\desc\ise_desc.dll %INSTALL_DIR\releases\home\lib\msc          copy C\desc\ise_desc.dll %INSTALL_DIR\releases\free_version\lib\msc
75          copy C\desc\ise_desc.lib %INSTALL_DIR\releases\home\lib\msc          copy C\desc\ise_desc.lib %INSTALL_DIR\releases\free_version\lib\msc
76          fullrf %INSTALL_DIR\releases\home\lib\msc\ebench.lib          fullrf %INSTALL_DIR\releases\free_version\lib\msc\ebench.lib
77    
78          remtrace Copying header to new delivery          remtrace Copying header to new delivery
79          copy %EIFFEL_SRC\C\run-time\*.h %INSTALL_DIR\studio\spec\%ISE_PLATFORM\include          copy %EIFFEL_SRC\C\run-time\*.h %INSTALL_DIR\studio\spec\%ISE_PLATFORM\include
# Line 201  iff defined BUILD_ENTERPRISE_ONLY then Line 199  iff defined BUILD_ENTERPRISE_ONLY then
199          move ec.exe %INSTALL_DIR\releases\enterprise          move ec.exe %INSTALL_DIR\releases\enterprise
200  else  else
201          iff not defined NO_NEW_EC then          iff not defined NO_NEW_EC then
202                  remtrace Recompile EiffelStudio                  remtrace compiling EiffelStudio
203                  cdd %FINALIZATION_DIR                  cdd %FINALIZATION_DIR
204                  copy %EIFFEL_SRC\Eiffel\Ace\newbench.mswin.ace finalizedbench.ace                  copy %EIFFEL_SRC\Eiffel\Ace\newbench.mswin.ace finalizedbench.ace
205                  copy %EIFFEL_SRC\Eiffel\Ace\*.* .                  copy %EIFFEL_SRC\Eiffel\Ace\*.* .
# Line 221  else Line 219  else
219                  endiff                  endiff
220                  move ec.exe %INSTALL_DIR\releases\enterprise                  move ec.exe %INSTALL_DIR\releases\enterprise
221    
222                  remtrace Student edition                  remtrace Free edition
223                  cdd %EIFFEL_SRC\Eiffel\API\constants                  cdd %EIFFEL_SRC\Eiffel\API\constants
224                  sed -e "s/\     has_metrics:\ BOOLEAN\ is\ True/\       has_metrics:\ BOOLEAN\ is\ False/g" eiffel_env.e >> new_eiffel_env.e                  sed -e "s/Version_type_name:\ STRING\ is\ \"Enterprise\ Edition\"/Version_type_name:\ STRING\ is\ \"Free\ Edition\"/g" system_constants.e >> new_system_constants.e
225                    move new_system_constants.e system_constants.e
226                    sed -e "s/\     has_case:\ BOOLEAN\ is\ True/\  has_case:\ BOOLEAN\ is\ False/g" eiffel_env.e >> new_eiffel_env.e
227                  move new_eiffel_env.e eiffel_env.e                  move new_eiffel_env.e eiffel_env.e
228                  sed -e "s/\     has_documentation_generation:\ BOOLEAN\ is\ True/\      has_documentation_generation:\ BOOLEAN\ is\ False/g" eiffel_env.e >> new_eiffel_env.e                  sed -e "s/\     has_metrics:\ BOOLEAN\ is\ True/\       has_metrics:\ BOOLEAN\ is\ False/g" eiffel_env.e >> new_eiffel_env.e
229                  move new_eiffel_env.e eiffel_env.e                  move new_eiffel_env.e eiffel_env.e
230                  sed -e "s/\     has_profiler:\ BOOLEAN\ is\ True/\      has_profiler:\ BOOLEAN\ is\ False/g" eiffel_env.e >> new_eiffel_env.e                  sed -e "s/\     has_profiler:\ BOOLEAN\ is\ True/\      has_profiler:\ BOOLEAN\ is\ False/g" eiffel_env.e >> new_eiffel_env.e
231                  move new_eiffel_env.e eiffel_env.e                  move new_eiffel_env.e eiffel_env.e
232                    sed -e "s/\     has_documentation_generation:\ BOOLEAN\ is\ True/\      has_documentation_generation:\ BOOLEAN\ is\ False/g" eiffel_env.e >> new_eiffel_env.e
233                    move new_eiffel_env.e eiffel_env.e
234                  sed -e "s/\     has_xmi_generation:\ BOOLEAN\ is\ True/\        has_xmi_generation:\ BOOLEAN\ is\ False/g" eiffel_env.e >> new_eiffel_env.e                  sed -e "s/\     has_xmi_generation:\ BOOLEAN\ is\ True/\        has_xmi_generation:\ BOOLEAN\ is\ False/g" eiffel_env.e >> new_eiffel_env.e
235                  move new_eiffel_env.e eiffel_env.e                  move new_eiffel_env.e eiffel_env.e
236                  sed -e "s/\     has_dll_generation:\ BOOLEAN\ is\ True/\        has_dll_generation:\ BOOLEAN\ is\ False/g" eiffel_env.e >> new_eiffel_env.e                  sed -e "s/\     has_dll_generation:\ BOOLEAN\ is\ True/\        has_dll_generation:\ BOOLEAN\ is\ False/g" eiffel_env.e >> new_eiffel_env.e
237                  move new_eiffel_env.e eiffel_env.e                  move new_eiffel_env.e eiffel_env.e
238                  cdd %EIFFEL_SRC\Eiffel\switch\license\time_lock                  sed -e "s/\     has_signable_generation:\ BOOLEAN\ is\ True/\   has_signable_generation:\ BOOLEAN\ is\ False/g" eiffel_env.e >> new_eiffel_env.e
                 sed -e "s/studio_enterprise_key_51/studio_student_key_51/g" bench_licence.e >> new_bench_license.e  
                 move new_bench_license.e bench_licence.e  
                 cdd %FINALIZATION_DIR  
                 clean_project  
                 finalize finalizedbench.ace  
                 fff  
                 cleanup_eiffel ec.exe  
                 iff not exist ec.exe then  
                         echo Could not finalize a new "student" EiffelStudio  
                         CANCEL  
                 endiff  
                 move ec.exe %INSTALL_DIR\releases\student  
   
                 remtrace Home edition  
                 cdd %EIFFEL_SRC\Eiffel\API\constants  
                 sed -e "s/\     has_case:\ BOOLEAN\ is\ True/\  has_case:\ BOOLEAN\ is\ False/g" eiffel_env.e >> new_eiffel_env.e  
                 move new_eiffel_env.e eiffel_env.e  
                 cdd %EIFFEL_SRC\Eiffel\switch\license\time_lock  
                 sed -e "s/studio_student_key_51/studio_home_key_51/g" bench_licence.e >> new_bench_license.e  
                 move new_bench_license.e bench_licence.e  
                 cdd %FINALIZATION_DIR  
                 clean_project  
                 finalize finalizedbench.ace  
                 fff  
                 cleanup_eiffel ec.exe  
                 iff not exist ec.exe then  
                         echo Could not finalize a new "Home" EiffelStudio  
                         CANCEL  
                 endiff  
                 move ec.exe %INSTALL_DIR\releases\home  
   
                 remtrace Professional edition  
                 cdd %EIFFEL_SRC\Eiffel\API\constants  
                 sed -e "s/\     has_documentation_generation:\ BOOLEAN\ is\ False/\     has_documentation_generation:\ BOOLEAN\ is\ True/g" eiffel_env.e >> new_eiffel_env.e  
                 move new_eiffel_env.e eiffel_env.e  
                 sed -e "s/\     has_dll_generation:\ BOOLEAN\ is\ False/\       has_dll_generation:\ BOOLEAN\ is\ True/g" eiffel_env.e >> new_eiffel_env.e  
239                  move new_eiffel_env.e eiffel_env.e                  move new_eiffel_env.e eiffel_env.e
240                  cdd %EIFFEL_SRC\Eiffel\switch\license\time_lock                  cdd %EIFFEL_SRC\Eiffel\switch\license\time_lock
241                  sed -e "s/studio_home_key_51/studio_professional_key_51/g" bench_licence.e >> new_bench_license.e                  sed -e "s/Is_free_version:\ BOOLEAN\ is\ False/\Is_free_version:\ BOOLEAN\ is\ True/g" bench_licence.e >> new_bench_license.e
242                  move new_bench_license.e bench_licence.e                  move new_bench_license.e bench_licence.e
243                  cdd %FINALIZATION_DIR                  cdd %FINALIZATION_DIR
244                  clean_project                  clean_project
# Line 280  else Line 246  else
246                  fff                  fff
247                  cleanup_eiffel ec.exe                  cleanup_eiffel ec.exe
248                  iff not exist ec.exe then                  iff not exist ec.exe then
249                          echo Could not finalize a new "professional" EiffelStudio                          echo Could not finalize a new "Free Edition" EiffelStudio
250                          CANCEL                          CANCEL
251                  endiff                  endiff
252                  move ec.exe %INSTALL_DIR\releases\professional                  move ec.exe %INSTALL_DIR\releases\free_version
253    
254                  cdd %INSTALL_DIR\releases                  cdd %INSTALL_DIR\releases
255                  copy enterprise\ec.exe evaluation                  copy enterprise\ec.exe evaluation

Legend:
Removed from v.32728  
changed lines
  Added in v.32729

  ViewVC Help
Powered by ViewVC 1.1.23