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.

78 lines
1.2 KiB

  1. # Check for Checked (dev) or Free (PROD) builds.
  2. !IF $(FREEBUILD)
  3. SPC_VAR=-DPROD
  4. !ELSE
  5. !IF "$(PIG)" == ""
  6. !IF "$(HUNTER)" == ""
  7. SPC_VAR=
  8. !ELSE
  9. SPC_VAR=-DHUNTER
  10. !ENDIF
  11. !ELSE
  12. SPC_VAR=-DPIG
  13. !ENDIF
  14. !ENDIF
  15. SOFTPC_TREE=$(PROJECT_ROOT)\mvdm\softpc.new
  16. # Set machine specific variables. Differences are for X86 vs. RISC
  17. !IF $(386)
  18. !IF "$(ALT_PROJECT)" == "NEC_98"
  19. SPC_MC_DEF= -DMONITOR \
  20. -DC_VID \
  21. -DX86GFX
  22. !ELSE
  23. SPC_MC_DEF= -DMONITOR \
  24. -DC_VID \
  25. -DX86GFX \
  26. -DARCX86
  27. !ENDIF
  28. !ELSE
  29. # not an X86. At this point, all RISC architectures have the same defines.
  30. !IF "$(CCPU)" == ""
  31. CPU_DEFS= -DCPU_40_STYLE
  32. !ELSE
  33. CPU_DEFS= -DCPU_40_STYLE -DCCPU -DC_VID
  34. !ENDIF
  35. SPC_MC_DEF= $(CPU_DEFS) \
  36. -DNEW_CPU \
  37. -DSPC386 \
  38. -DSIM32 \
  39. -DV7VGA
  40. #Amend include path to include CPU build system generated files
  41. !IF $(FREEBUILD)
  42. CPU_INCLUDES=$(SOFTPC_TREE)\host\inc\$(PROCESSOR_ARCHITECTURE)\prod
  43. !else
  44. CPU_INCLUDES=$(SOFTPC_TREE)\host\inc\$(PROCESSOR_ARCHITECTURE)\pig
  45. !endif
  46. INCLUDES=$(CPU_INCLUDES);$(INCLUDES)
  47. !ENDIF
  48. C_DEFINES= $(SPC_VAR) $(SPC_MC_DEF) $(C_DEFINES) -DANSI