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.

58 lines
1.2 KiB

  1. !ifndef DXGROOT
  2. DXGROOT = $(DXROOT)\dxg
  3. !endif
  4. !ifndef D3DROOT
  5. D3DROOT = $(DXGROOT)\d3d
  6. !endif
  7. !ifndef DDROOT
  8. DDROOT = $(DXGROOT)\dd
  9. !endif
  10. !ifndef D3DDX7
  11. D3DDX7 = $(D3DROOT)\dx7
  12. !endif
  13. !if "$(WANTASM)" == "" && ("$(PLAT_DIR)" == "win9x" && !($(ALPHA)||$(AXP64)||$(IA64)))
  14. WANTASM = 1
  15. !endif
  16. !if ("$(WANTASM)" == "1")
  17. WANT_ASM_DEFINES = -DWANT_ASM=1
  18. !else
  19. WANT_ASM_DEFINES = -DWANT_ASM=0
  20. !endif
  21. C_DEFINES = $(C_DEFINES) \
  22. -DD3D \
  23. -DMSBUILD \
  24. -DIS_32 \
  25. -DWIN32 \
  26. $(WANT_ASM_DEFINES)
  27. !if "$(USE_ICECAP)" != ""
  28. C_DEFINES = $(C_DEFINES) -DPROFILE=1
  29. ASM_DEFINES = $(ASM_DEFINES) -DPROFILE=1
  30. !endif
  31. !if "$(USE_ICECAP4)" != ""
  32. C_DEFINES = $(C_DEFINES) -DPROFILE4=1
  33. ASM_DEFINES = $(ASM_DEFINES) -DPROFILE4=1
  34. !endif
  35. 386_STDCALL = 0
  36. NO_NTDLL = 1
  37. INCLUDES = \
  38. $(D3DDX7)\inc; \
  39. $(D3DDX7)\fe; \
  40. $(D3DDX7)\util; \
  41. $(DDROOT)\ddraw\main; \
  42. $(DDROOT)\ddraw\ddhelp; \
  43. $(DXGROOT)\misc; \
  44. $(DXGROOT)\inc; \
  45. $(DXGROOT)\dd\ddraw\inc;\
  46. $(DXROOT)\inc; \
  47. $(INCLUDES)