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.

55 lines
957 B

  1. @Echo off
  2. REM Cmd file building DEBUG, RETAIL, and RELEASE versions of DLL
  3. SET DEBUG=
  4. SET RETAIL=
  5. REM set path2=%path%
  6. REM set include2=%include%
  7. REM set lib2=%lib%
  8. REM set path=\ole\bin;\ole\bin\os2
  9. REM set include=\ole\inc
  10. REM set lib=\ole\lib
  11. if %1x==x goto debug
  12. if %1==debug goto debug
  13. if %1==retail goto retail
  14. if %1==release goto retail
  15. goto end
  16. :retail
  17. SET RETAIL=TRUE
  18. if NOT EXIST retail md retail
  19. goto make
  20. :debug
  21. SET DEBUG=TRUE
  22. if NOT EXIST debug md debug
  23. goto make
  24. :make
  25. nmake >z.msg
  26. goto end
  27. :release
  28. if NOT EXIST retail md retail
  29. SET RETAIL=TRUE
  30. nmake >z.msg
  31. if NOT EXIST release md release
  32. copy retail\*.dll release > nul 2>&1
  33. copy retail\*.exe release > nul 2>&1
  34. copy retail\*.map release > nul 2>&1
  35. goto end
  36. :end
  37. REM set path=%path2%
  38. REM set path2=
  39. REM set include=%include2%
  40. REM set include2=
  41. REM set lib=%lib2%
  42. REM set lib2=
  43. SET DEBUG=
  44. SET RETAIL=