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.

52 lines
1.1 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 D3DDX6
  11. D3DDX6 = $(D3DROOT)\dx6
  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. 386_STDCALL = 0
  32. INCLUDES = \
  33. $(D3DDX6)\inc; \
  34. $(D3DDX6)\d3dim\inc; \
  35. $(D3DDX6)\d3dutil; \
  36. $(DDROOT)\ddraw\main; \
  37. $(DDROOT)\ddraw\ddhelp; \
  38. $(DXGROOT)\misc; \
  39. $(DXGROOT)\inc; \
  40. $(DXGROOT)\dd\ddraw\inc;\
  41. $(DXROOT)\inc; \
  42. $(INCLUDES)