Windows NT 4.0 source code leak
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

108 lines
2.0 KiB

4 years ago
  1. echo off
  2. goto start
  3. /******************************************************************
  4. NT/Alpha AXP firmware build script
  5. Copyright (c) 1993 Digital Equipment Corporation
  6. John DeRosa 16-July-1992
  7. This will compile and link the NT/Alpha AXP firmware package.
  8. At the moment this is geared to Jensen.
  9. Parameters:
  10. -c says to do a build -c.
  11. *********************************************************************/
  12. :start
  13. rem
  14. rem Define variables used in the build process.
  15. rem
  16. rem The top-level of the working NT sources directory tree.
  17. set BuildPool=\nt
  18. rem
  19. rem Analyze command line parameters.
  20. rem
  21. set BuildSwitch=
  22. if "%1"=="-c" set BuildSwitch=-c
  23. rem
  24. rem Build the firmware.
  25. rem
  26. echo *** Building bldr files... ***
  27. cd %BuildPool%\private\ntos\bldr
  28. build %BuildSwitch%
  29. if not errorlevel 0 goto ERROREXIT
  30. echo *** Building hal files... ***
  31. cd %BuildPool%\private\ntos\nthals\hal0jens
  32. build %BuildSwitch%
  33. if not errorlevel 0 goto ERROREXIT
  34. echo *** Building rtl files... ***
  35. cd %BuildPool%\private\ntos\rtl
  36. build %BuildSwitch%
  37. if not errorlevel 0 goto ERROREXIT
  38. echo *** Building fw files... ***
  39. cd %BuildPool%\private\ntos\fw
  40. build %BuildSwitch%
  41. if not errorlevel 0 goto ERROREXIT
  42. goto NORMALEXIT
  43. rem
  44. rem Here on some kind of error.
  45. rem
  46. :ERROREXIT
  47. echo ???
  48. echo ??? ERROR during build. Build terminated with extreme prejudice.
  49. echo ???
  50. rem
  51. rem Here to exit the procedure.
  52. rem
  53. :NORMALEXIT
  54. copy %BuildPool%\private\ntos\bldr\build.log %BuildPool%\private\ntos\fw\be_firm.log
  55. type %BuildPool%\private\ntos\nthals\hal0jens\build.log >> %BuildPool%\private\ntos\fw\be_firm.log
  56. type %BuildPool%\private\ntos\rtl\build.log >> %BuildPool%\private\ntos\fw\be_firm.log
  57. rem
  58. rem type %BuildPool%\private\ntos\ke\build.log >> %BuildPool%\private\ntos\fw\be_firm.log
  59. rem
  60. type %BuildPool%\private\ntos\fw\build.log >> %BuildPool%\private\ntos\fw\be_firm.log
  61. echo *** Build done. Look in fw\be_firm.log for merged build logs.
  62. echo *** Check the obj\alpha area.
  63. rem
  64. rem return to the firmware directory
  65. rem
  66. cd %BuildPool%\private\ntos\fw
  67. @echo on