Fulld_2005.bat 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. @echo off
  2. if (%1)==() goto test_command
  3. if (%1)==(start) goto start
  4. goto endok
  5. :test_command
  6. if (%COMSPEC%)==() goto no_command
  7. %COMSPEC% /E:9216 /C %0 start %1 %2 %3
  8. goto endok
  9. :no_command
  10. echo No Command Interpreter found
  11. goto endok
  12. :start
  13. call clean.bat
  14. computil SetupD9
  15. if exist setenv.bat call setenv.bat
  16. if not exist ..\D9\*.* md ..\D9 >nul
  17. if exist ..\D9\*.* call clean.bat ..\D9\
  18. if (%NDD9%)==() goto enderror
  19. if (%NDWINSYS%)==() goto enderror
  20. ECHO ****************
  21. ECHO Compile System
  22. ECHO ****************
  23. CD System
  24. %NDD9%\Bin\dcc32.exe IndySystem90.dpk /Oobjs /m /h /w /N..\..\D9 -$d-l-n+p+r-s-t-w- %2 %3 %4
  25. copy *90.bpl ..\..\D9 >nul
  26. copy *90.dcp ..\..\D9 >nul
  27. if errorlevel 1 goto enderror
  28. copy ..\..\D9\IndySystem90.bpl %NDWINSYS% >nul
  29. CD ..
  30. ECHO **************
  31. ECHO Compile Core
  32. ECHO **************
  33. CD Core
  34. %NDD9%\Bin\dcc32.exe IndyCore90.dpk /Oobjs /m /h /w /N..\..\D9 /U..\..\D9 -$d-l-n+p+r-s-t-w- %2 %3 %4
  35. if errorlevel 1 goto enderror
  36. %NDD9%\Bin\dcc32.exe dclIndyCore90.dpk /Oobjs /m /h /w /N..\..\D9 /U..\..\D9 -$d-l-n+p+r-s-t-w- %2 %3 %4
  37. if errorlevel 1 goto enderror
  38. copy *90.bpl ..\..\D9 >nul
  39. copy *90.dcp ..\..\D9 >nul
  40. copy ..\..\D9\IndyCore90.bpl %NDWINSYS% >nul
  41. copy ..\..\D9\dclIndyCore90.bpl %NDWINSYS% >nul
  42. CD ..
  43. ECHO *******************
  44. ECHO Compile Protocols
  45. ECHO *******************
  46. CD Protocols
  47. ECHO ************************
  48. ECHO IdCompressionIntercept
  49. ECHO ************************
  50. %NDD9%\Bin\dcc32.exe -B -M -N..\..\D9 /U..\..\D9 -H -W -Z IdCompressionIntercept.pas -$d-l-
  51. if errorlevel 1 goto enderror
  52. %NDD9%\Bin\dcc32.exe IndyProtocols90.dpk /Oobjs /m /h /w /N..\..\D9 /U..\..\D9 -$d-l-n+p+r-s-t-w- %2 %3 %4
  53. if errorlevel 1 goto enderror
  54. %NDD9%\Bin\dcc32.exe dclIndyProtocols90.dpk /Oobjs /m /h /w /N..\..\D9 /U..\..\D9 -$d-l-n+p+r-s-t-w- %2 %3 %4
  55. if errorlevel 1 goto enderror
  56. copy *90.bpl ..\..\D9 >nul
  57. copy *90.dcp ..\..\D9 >nul
  58. copy ..\..\D9\IndyProtocols90.bpl %NDWINSYS% >nul
  59. copy ..\..\D9\dclIndyProtocols90.bpl %NDWINSYS% >nul
  60. CD ..
  61. goto endok
  62. :enderror
  63. call clean
  64. echo Error!
  65. :endok