mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-24 06:43:03 +01:00
64 lines
1.6 KiB
Batchfile
64 lines
1.6 KiB
Batchfile
|
|
|
|
@echo off
|
|
|
|
@mkdir temp
|
|
|
|
:CHECK_ENV
|
|
@if /I "%DB_PATH%"=="" (goto :HELP & goto :EOF) else (@goto :MAIN)
|
|
|
|
::===========
|
|
:MAIN
|
|
@echo.
|
|
@del ..\..\src\include\gen\autoconfig.h
|
|
@copy ..\..\src\include\gen\autoconfig_msvc.h ..\..\src\include\gen\autoconfig.h
|
|
@echo Preprocessing files required to do a boot-build...
|
|
@del gpre_boot.exe
|
|
@cd msvc6
|
|
@msdev Firebird2Boot.dsw /MAKE "common_static - Win32 Release" "gpre_boot - Win32 Release" /REBUILD /OUT boot1.log
|
|
@cd ..
|
|
@move msvc6\release\firebird\bin\gpre_boot.exe .
|
|
@move msvc6\release\common_static\common_static.lib temp\common_static.lib
|
|
@call preprocess.bat BOOT
|
|
|
|
@echo.
|
|
@echo Making necessary boot-build executables...
|
|
@cd msvc6
|
|
@msdev Firebird2Boot.dsw /MAKE "fbclient_static - Win32 Release" "gpre_static - Win32 Release" /REBUILD /OUT boot2.log
|
|
@cd ..
|
|
@echo Move gpre_static and fbclient_static
|
|
@move msvc6\release\firebird\bin\gpre_static.exe .
|
|
|
|
@move msvc6\release\fbclient_static\fbclient_static.lib temp\fbclient_static.lib
|
|
@echo Preprocessing the entire source tree...
|
|
@call preprocess.bat
|
|
@echo Building message file and codes header...
|
|
@cd msvc6
|
|
@msdev Firebird2Boot.dsw /MAKE "build_msg - Win32 Release" "codes - Win32 Release" /REBUILD /OUT boot3.log
|
|
@cd ..
|
|
@move msvc6\release\build_msg\build_msg.exe .
|
|
@move msvc6\release\codes\codes.exe .
|
|
@build_msg -D %DB_PATH%/generated/msg.fdb
|
|
@codes ..\..\src\include\gen
|
|
@echo Building BLR Table
|
|
@call blrtable.bat
|
|
@goto :NEXT_STEP
|
|
|
|
::==============
|
|
:NEXT_STEP
|
|
@echo.
|
|
@echo You may now run make6_debug.bat or make6_release.bat
|
|
@echo.
|
|
@goto :EOF
|
|
|
|
::==============
|
|
:HELP
|
|
@echo.
|
|
@echo You must run prepare.bat before running this script
|
|
@echo.
|
|
@goto :EOF
|
|
|
|
|
|
::==============
|
|
:END
|