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.

73 lines
1.6 KiB

  1. !ifndef DXGROOT
  2. DXGROOT = $(DXROOT)\dxg
  3. !endif
  4. !ifndef DDROOT
  5. DDROOT = $(DXGROOT)\dd
  6. !endif
  7. !ifndef D3DDX8
  8. D3DDX8 = $(DXGROOT)\d3d8
  9. !endif
  10. !if "$(WANTASM)" == "" && ("$(PLAT_DIR)" == "win9x" && !($(ALPHA)||$(AXP64)||$(IA64)))
  11. WANTASM = 1
  12. !endif
  13. !if ("$(WANTASM)" == "1")
  14. WANT_ASM_DEFINES = -DWANT_ASM=1
  15. !else
  16. WANT_ASM_DEFINES = -DWANT_ASM=0
  17. !endif
  18. D3D_VERSION = 0x0800
  19. C_DEFINES = $(C_DEFINES) \
  20. -DD3D \
  21. -DMSBUILD \
  22. -DIS_32 \
  23. -DWIN32 \
  24. -DNEW_DPF \
  25. -DDIRECT3D_VERSION=$(D3D_VERSION) \
  26. -DDISABLE_DX7_HEADERS_IN_D3DNTHAL \
  27. $(WANT_ASM_DEFINES)
  28. !if "$(DEBUG_CRTS)" != ""
  29. C_DEFINES = $(C_DEFINES) -D__USECRTMALLOC
  30. !endif
  31. USE_NATIVE_EH = 1
  32. !if "$(USE_ICECAP)" != ""
  33. C_DEFINES = $(C_DEFINES) -DPROFILE=1
  34. ASM_DEFINES = $(ASM_DEFINES) -DPROFILE=1
  35. !endif
  36. !if "$(USE_ICECAP4)" != ""
  37. C_DEFINES = $(C_DEFINES) -DPROFILE4=1
  38. ASM_DEFINES = $(ASM_DEFINES) -DPROFILE4=1
  39. !endif
  40. !if "$(USE_ICECAP4_ICEPICK)" != ""
  41. C_DEFINES = $(C_DEFINES) -DPROFILE4=1
  42. ASM_DEFINES = $(ASM_DEFINES) -DPROFILE4=1
  43. !endif
  44. 386_STDCALL = 0
  45. NO_NTDLL = 1
  46. # MB 32543: use /Ox instead of the default /Oxs due to inlining bug in 13.00.8806 compiler
  47. #
  48. !if !defined(MSC_OPTIMIZATION)
  49. 386_OPTIMIZATION = /Ox
  50. !endif
  51. INCLUDES = \
  52. $(D3DDX8)\inc; \
  53. $(D3DDX8)\fe; \
  54. $(D3DDX8)\util; \
  55. $(D3DDX8)\fw; \
  56. $(DXGROOT)\misc; \
  57. $(DXGROOT)\inc; \
  58. $(DXROOT)\inc; \
  59. $(INCLUDES)