remtrace Compile C code of the libraries remtrace "A tout seigneur tout honneur", let's start with the run-time md %INSTALL_DIR\releases md %INSTALL_DIR\releases\enterprise_version md %INSTALL_DIR\releases\gpl_version mkdir %INSTALL_DIR\releases\lib mkdir %INSTALL_DIR\releases\lib\bcb mkdir %INSTALL_DIR\releases\lib\msc remtrace Compile the commercial run-times iff not defined WIN64 then remtrace Compile a run-time for Borland cdd %EIFFEL_SRC cd C call configure clean >>& %INSTALL_LOG call configure win32 b >>& %INSTALL_LOG cd %EIFFEL_SRC fullrf C\run-time\LIB\ebench.lib copy C\run-time\LIB\*.lib %INSTALL_DIR\releases\lib\bcb endiff remtrace Compile a dynamic run-time for Microsoft cd %EIFFEL_SRC\C call configure clean >>& %INSTALL_LOG iff defined WIN64 then call configure win64 m dll >>& %INSTALL_LOG else iff defined MSC6 then call configure win32 m6 dll >>& %INSTALL_LOG else call configure win32 m dll >>& %INSTALL_LOG endiff endiff cd %EIFFEL_SRC fullrf C\run-time\LIB\ebench.lib fullrf C\run-time\LIB\*.exp copy C\run-time\LIB\*dll* %INSTALL_DIR\releases\lib\msc cd %EIFFEL_SRC remtrace Compile a run-time for Microsoft cd %EIFFEL_SRC\C call configure clean >>& %INSTALL_LOG iff defined WIN64 then call configure win64 m >>& %INSTALL_LOG else iff defined MSC6 then call configure win32 m6 >>& %INSTALL_LOG else call configure win32 m >>& %INSTALL_LOG endiff endiff cd %EIFFEL_SRC fullrf C\run-time\LIB\ebench.lib copy C\run-time\LIB\*.lib %INSTALL_DIR\releases\enterprise_version\lib\msc iff not defined WIN64 then copy C\desc\ise_desc.dll %INSTALL_DIR\releases\enterprise_version\lib\msc copy C\desc\ise_desc.lib %INSTALL_DIR\releases\enterprise_version\lib\msc endiff copy C\run-time\LIB\*.lib %INSTALL_DIR\releases\lib\msc iff not defined WIN64 then copy C\desc\ise_desc.dll %INSTALL_DIR\releases\lib\msc copy C\desc\ise_desc.lib %INSTALL_DIR\releases\lib\msc endiff remtrace Copy the header files copy %EIFFEL_SRC\C\run-time\*.h %INSTALL_DIR\studio\spec\%ISE_PLATFORM\include copy %EIFFEL_SRC\C\eif_confmagic.h %INSTALL_DIR\studio\spec\%ISE_PLATFORM\include cd %EIFFEL_SRC remtrace Then the C libraries cd %EIFFEL_SRC\C_library fullrd .libs remtrace libpng cd %EIFFEL_SRC\C_library\libpng default_make remtrace zlib cd %EIFFEL_SRC\C_library\zlib default_make REM These directories should already have been created by make_delivery. Whatever... safe_md %INSTALL_DIR\studio\spec safe_md %INSTALL_DIR\studio\spec\%ISE_PLATFORM safe_md %INSTALL_DIR\studio\spec\%ISE_PLATFORM\bin remtrace CLI writer cd %EIFFEL_SRC\Eiffel\library\cli_writer\Clib call nmake remtrace Compiling .NET components cdd %INIT_DIR call make_dotnet.btm cdd %EIFFEL_SRC REM Compiling EiffelStudio stuff iff defined BUILD_ENTERPRISE_ONLY then remtrace Recompile EiffelStudio cdd %FINALIZATION_DIR copy %EIFFEL_SRC\Eiffel\Ace\ec.ecf ec.ecf copy %EIFFEL_SRC\Eiffel\Ace\*.* . iff not exist ec.ecf then remtrace Cannot find the finalization Ace for EiffelStudio CANCEL endiff remtrace Enterprise edition cdd %EIFFEL_SRC\Eiffel\API\constants bash %INIT_DIR\set_version.sh %DEFAULT_ORIGO_SVN 0000 system_constants.e 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 move new_system_constants.e system_constants.e cdd %FINALIZATION_DIR clean_project finalize ec.ecf bench cleanup_eiffel bench ec.exe iff not exist ec.exe then remtrace Could not finalize a new "enterprise_version" EiffelStudio CANCEL endiff move ec.exe %INSTALL_DIR\releases\enterprise_version else iff not defined NO_NEW_EC then remtrace GPL edition cdd %EIFFEL_SRC\Eiffel\API\constants bash %INIT_DIR\set_version.sh %DEFAULT_ORIGO_SVN 0000 system_constants.e cdd %FINALIZATION_DIR copy %EIFFEL_SRC\Eiffel\Ace\*.* . clean_project finalize ec.ecf bench cleanup_eiffel bench ec.exe iff not exist ec.exe then remtrace Could not finalize a new "gpl_edition" EiffelStudio CANCEL endiff move ec.exe %INSTALL_DIR\releases\gpl_version remtrace Enterprise edition for EiffelStudio cdd %EIFFEL_SRC\Eiffel\API\constants 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 move new_system_constants.e system_constants.e cdd %FINALIZATION_DIR clean_project finalize ec.ecf bench cleanup_eiffel bench ec.exe iff not exist ec.exe then remtrace Could not finalize a new "enterprise_version" EiffelStudio CANCEL endiff move ec.exe %INSTALL_DIR\releases\enterprise_version endiff endiff remtrace Recompile finish_freezing cdd %EIFFEL_SRC\tools\finish_freezing clean_project finalize finish_freezing.ecf cleanup_eiffel finish_freezing finish_freezing.exe iff not exist finish_freezing.exe then remtrace Could not finalize a new finish_freezing CANCEL endiff move finish_freezing.exe %INSTALL_DIR\studio\spec\%ISE_PLATFORM\bin remtrace Recompile emake cdd %EIFFEL_SRC\tools\eiffel_make clean_project finalize emake.ecf cleanup_eiffel emake emake.exe iff not exist emake.exe then remtrace Could not finalize a new emake CANCEL endiff move emake.exe %INSTALL_DIR\studio\spec\%ISE_PLATFORM\bin remtrace Recompile quick_finalize cdd %EIFFEL_SRC\tools\quick_finalize clean_project finalize quick_finalize.ecf cleanup_eiffel quick_finalize quick_finalize.exe iff not exist quick_finalize.exe then remtrace Could not finalize a new quick_finalize CANCEL endiff move quick_finalize.exe %INSTALL_DIR\studio\spec\%ISE_PLATFORM\bin remtrace Put estudio.exe in the new delivery REM It should already have been compiled by the configure of the run-time. cdd %EIFFEL_SRC\C\ipc\daemon iff not exist estudio.exe then remtrace Could not finalize a new estudio CANCEL endiff move estudio.exe %INSTALL_DIR\studio\spec\%ISE_PLATFORM\bin remtrace Put x2c.exe in the new delivery REM It should already have been compiled by the configure of the run-time. cdd %EIFFEL_SRC\C\run-time iff not exist x2c.exe then remtrace Could not finalize a new x2c CANCEL endiff move x2c.exe %INSTALL_DIR\studio\spec\%ISE_PLATFORM\bin remtrace Recompile h2e cdd %EIFFEL_SRC\library\wel\extra clean_project finalize h2e.ecf cleanup_eiffel h2e h2e.exe iff not exist h2e.exe then remtrace Could not finalize a new h2e CANCEL endiff move h2e.exe %INSTALL_DIR\studio\spec\%ISE_PLATFORM\bin remtrace Recompile Custom actions for installation program cdd %EIFFEL_SRC co %DEFAULT_ISE_SVN/Src/library/keygen library/keygen cd tools co %DEFAULT_ISE_SVN/Src/tools/setup setup cd %EIFFEL_SRC\tools\setup\studio clean_project finalize setup.ecf cleanup_eiffel setup setup.dll iff not exist setup.dll then remtrace Couldnt generate setup.dll CANCEL endiff move setup.dll %INIT_DIR\install\Binary remtrace Recompiling EiffelBuild cdd %INIT_DIR call make_build.btm remtrace Recompiling Vision2 tour cdd %INIT_DIR call make_vision2_tour.btm remtrace Recompile Legacy++ cdd %EIFFEL_SRC\tools\legacy\PCCTS safe_md bin nmake /f makefile.win cd .. cd legacy nmake -f makefile.win iff not exist legacy.exe then remtrace Couldnt generate legacy.exe CANCEL endiff move legacy.exe %INSTALL_DIR\studio\spec\%ISE_PLATFORM\bin