Leaked source code of windows server 2003
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.

56 lines
1.5 KiB

  1. rem echo off
  2. set include=.
  3. set lib=.\tools;.;
  4. set path=.\tools
  5. if exist debug goto origin
  6. rem ****** command /c kmakend %1 %2 %3 %4 %5
  7. rem ****** goto realfinis
  8. :origin
  9. rem ****** if not exist e:sccs.chk goto noshort
  10. rem ****** set include=c:\lib
  11. rem ****** set lib=c:\lib
  12. rem ****** path=c:\dos;c:\wbin;c:\tools;c:\editors;c:\lint
  13. :noshort
  14. if "%1"=="-u" goto update
  15. if "%1"=="-e" goto doecho
  16. if "%1"=="-k" goto nobreak
  17. if "%1"=="" goto breakok
  18. echo usage: kmake {-u}{-e}{-k}
  19. goto finis
  20. :update
  21. rem ****** if exist e:sccs.chk goto realupd
  22. rem ****** echo *** Net not active, Update Skipped
  23. rem ****** goto nonetfile
  24. :realupd
  25. echo *** Updating From Net
  26. rem ****** upd /n d:\wow c:\wbin *.c *.asm *.def *.h *.ico *.cur *.rc makefile.* *.bmp
  27. ssync
  28. echo *** Update Complete
  29. :nonetfile
  30. shift
  31. goto origin
  32. :nobreak
  33. del z-.msg
  34. ren z.msg z-.msg
  35. echo *** Starting Make. Make will not stop for compiler errors (DEBUG ON)
  36. make -k "DFLAGS = -DKANJI -DCRLF -u" "DEBUGDEF = -DDEBUG" >z.msg
  37. goto finis
  38. :doecho
  39. echo *** Starting Make. Make will not stop for compiler errors (DEBUG ON)
  40. make -k "DFLAGS = -DKANJI -DCRLF -u" "DEBUGDEF = -DDEBUG"
  41. goto realfinis
  42. :breakok
  43. del z-.msg
  44. ren z.msg z-.msg
  45. echo *** Starting Make. MAKE WILL STOP FOR ALL ERRORS (DEBUG ON)
  46. make "DFLAGS = -DKANJI -DCRLF -u" "DEBUGDEF = -DDEBUG" >z.msg
  47. :finis
  48. :realfinis
  49. if ERRORLEVEL 1 goto badend
  50. echoerr *** Make complete.
  51. goto theend
  52. :badend
  53. echo *** Errors found during make. 
  54. :theend
  55. ..\..\setenv
  56.