2003-10-09 19:48:29 +02:00
|
|
|
|
|
|
|
@echo off
|
|
|
|
|
|
|
|
@if "%1" NEQ "" (set FIREBIRD=%1)
|
|
|
|
:: BRS
|
|
|
|
:: Get all the file name when there are spaces
|
|
|
|
:: this can be also achieved with %* but I don't know which versions of
|
|
|
|
:: windows allows it
|
|
|
|
:LOOP
|
|
|
|
@shift
|
|
|
|
@if "%1"=="" (goto DONE)
|
|
|
|
@set FIREBIRD=%FIREBIRD% %1
|
|
|
|
@goto loop
|
|
|
|
:DONE
|
|
|
|
|
|
|
|
@echo FIREBIRD=%FIREBIRD%
|
|
|
|
@if "%FIREBIRD%"=="" (goto :HELP & goto :EOF)
|
|
|
|
|
2003-09-09 09:51:25 +02:00
|
|
|
call clean_all
|
2003-10-09 19:48:29 +02:00
|
|
|
call prepare
|
2003-09-09 09:51:25 +02:00
|
|
|
call make_boot
|
|
|
|
call make_all
|
|
|
|
call make_examples
|
|
|
|
cd ..\install\arch-specific\win32
|
|
|
|
call BuildExecutableInstall
|
2003-10-09 19:48:29 +02:00
|
|
|
cd ..\..\..\win32
|
|
|
|
|
|
|
|
::===========
|
|
|
|
:HELP
|
|
|
|
@echo.
|
|
|
|
@echo Build process need the FIREBIRD environment variable set to work.
|
|
|
|
@echo FIREBIRD value should be the root directory of your Firebird installation.
|
|
|
|
@echo Example:
|
|
|
|
@echo c:\program files\firebird
|
|
|
|
@echo.
|
2003-10-09 20:06:55 +02:00
|
|
|
@goto :END2
|
2003-10-09 19:48:29 +02:00
|
|
|
|
2003-10-09 20:06:55 +02:00
|
|
|
:END2
|