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.

69 lines
1.9 KiB

  1. !IF 0
  2. Copyright (c) 1989-2000 Microsoft Corporation
  3. !ENDIF
  4. !if "" != "$(DIRECTX_REDIST)"
  5. C_DEFINES=$(C_DEFINES) /DDIRECTX_REDIST=1
  6. !endif
  7. !if "" != "$(DX_FINAL_RELEASE)"
  8. C_DEFINES=$(C_DEFINES) /DDX_FINAL_RELEASE=1
  9. !endif
  10. # 7/19/2000(RichGr): Include Multimedia root project.mk so we can change settings globally.
  11. !include $(BASEDIR)\MultiMedia\project.mk
  12. SD_BUILD = 1
  13. # Places to publish headers and libraries which are shared
  14. # by code in the MultiMedia depot but not needed outside
  15. # the MultiMedia depot
  16. MM_INC_PATH = $(PROJECT_ROOT)\inc
  17. MM_LIB_PATH = $(PROJECT_ROOT)\lib
  18. # The MultiMedia depot has been duplicated in order to allow
  19. # DirectX to ship independently of the base OS (and be
  20. # unconstrained by lock downs of the base tree). However,
  21. # the root depot has not been duplicated. Therefore, any files
  22. # we publish via our own builds will end up being checked
  23. # into Lab6's root depot. Not what we want. Therefore, when
  24. # doing our own builds we want to publish the files somewhere
  25. # in the MultiMedia depot rather than the root depot. In this
  26. # way our builds are self contained. The following macros
  27. # specify the locations to publish files to (both SDK and
  28. # internal) when not on a real VBL build machine.
  29. !ifndef DXROOT
  30. DXROOT = $(BASEDIR)\MultiMedia\DirectX
  31. !endif
  32. !ifdef DX_BUILD
  33. DX_SDK_INC_PATH = $(MM_INC_PATH)\sdk\inc
  34. DX_SDK_LIB_DEST = $(MM_LIB_PATH)\sdk\lib
  35. DX_PROJECT_INC_PATH = $(MM_INC_PATH)\internal\$(_PROJECT_)\inc
  36. DX_PROJECT_LIB_DEST = $(MM_LIB_PATH)\internal\$(_PROJECT_)\lib
  37. # use our own placefil.txt when building dx sdk
  38. BINPLACE_PLACEFILE=$(DXROOT)\public\sdk\lib\placefil.txt
  39. !else
  40. DX_SDK_INC_PATH = $(SDK_INC_PATH)
  41. DX_SDK_LIB_DEST = $(SDK_LIB_DEST)
  42. DX_PROJECT_INC_PATH = $(PROJECT_INC_PATH)
  43. DX_PROJECT_LIB_DEST = $(PROJECT_LIB_DEST)
  44. !endif
  45. !ifdef DX_SDK
  46. # use our own placefil.txt when building dx sdk
  47. # the DX_BUILD macro might go away. I am not using it. -- mtang
  48. BINPLACE_PLACEFILE=$(DXROOT)\public\sdk\lib\placefil.txt
  49. !endif