Source code of Windows XP (NT5)
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.

38 lines
1.2 KiB

  1. # buildmode.inc: included by several makefiles in the dsound directory tree
  2. # to get the BuildMode variable. This variable only affects debug builds;
  3. # retail builds are identical in both modes. BuildMode can take two values:
  4. #
  5. # internal:
  6. # DEBUG (and RDEBUG) preprocessor constants are #defined
  7. # DPF (and RPF) debug output messages are enabled
  8. # Debug messages contain file, function and line number info
  9. # ASSERT and BREAK macros are enabled
  10. # Internal heap consistency checks in dsound.dll are enabled
  11. #
  12. # external:
  13. # Only the RDEBUG preprocessor constant is #defined
  14. # Only RPF debug output messages are enabled
  15. # ASSERTs and BREAKs are enabled
  16. # The default build mode is "external", and we only change it
  17. # to "internal" if we determine that we're in pre-release mode.
  18. BuildMode = external
  19. #!if (NT build)
  20. # FIXME: We should !include some VBL6-specific file here
  21. # that defines PRERELEASE properly for us (bug 344974).
  22. # In NT builds, we can key off the PRERELEASE flag:
  23. !if defined(PRERELEASE)
  24. !if $(PRERELEASE)
  25. BuildMode = internal
  26. !endif
  27. !endif
  28. #!else (DX build)
  29. # In DX builds, some combination of DX_FINAL_RELEASE, FINAL and OFFICIAL
  30. # could be used, but being careful about weekly Web releases and the like.
  31. #!endif