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.

76 lines
1.8 KiB

  1. MSC_WARNING_LEVEL = /W4 /WX
  2. !undef USE_MSVCRT
  3. !undef USE_NTDLL
  4. !undef USE_LIBCMT
  5. !undef NO_NTDLL
  6. #NO_NTDLL=1
  7. #USE_MSVCRT=1
  8. #USE_NTDLL=1
  9. #USE_LIBCMT=1
  10. USE_NOLIBS=1
  11. USE_NATIVE_EH=1
  12. !if $(FREEBUILD)
  13. C_DEFINES = $(C_DEFINES) -DFUSION_RETAIL_LOGGING
  14. !else
  15. C_DEFINES = $(C_DEFINES) -DFUSION_RETAIL_LOGGING -DDEBUG
  16. !endif
  17. C_DEFINES = $(C_DEFINES) -DFUSION_REDEFINE_ASSERT=1
  18. # Put this in independent of USE_MSVCRT, etc. to make it
  19. # easier to switch among them.
  20. C_DEFINES = $(C_DEFINES) -D_MT=1
  21. # Downlevel is all of NT4, Win2k, Win9x.
  22. C_DEFINES = $(C_DEFINES) -DSXSP_DOWNLEVEL=0
  23. # locally defined symbol imported
  24. # LINKER_FLAGS=$(LINKER_FLAGS) -ignore:4049,4217
  25. #
  26. # Set private include paths
  27. #
  28. INCLUDES = \
  29. $(WINDOWS_INC_PATH);\
  30. $(BASE_INC_PATH);\
  31. $(SDK_INC_PATH);\
  32. $(NET_INC_PATH);\
  33. $(INCLUDES)
  34. FUSION_PATH = $(BASEDIR)\base\win32\fusion
  35. PROJECT_COMPILER_WARNINGS = -FI$(FUSION_PATH)\fusionwarnings.h
  36. FUSION_ALL_INC_PATH = $(FUSION_PATH)\inc
  37. FUSION_URT_INC_PATH = $(FUSION_PATH)\inc\urt
  38. FUSION_WIN_INC_PATH = $(FUSION_PATH)\inc\win
  39. FUSION_WIN2000_INC_PATH = $(FUSION_PATH)\inc\win2000
  40. !if "$(FUSION_BUILD_TYPE)" == ""
  41. !error FUSION_BUILD_TYPE not defined
  42. !endif
  43. FUSION_WIN_LIB_DEST = $(FUSION_PATH)\winobj\$(_OBJ_DIR)
  44. FUSION_WIN_LIB_PATH = $(FUSION_WIN_LIB_DEST)\*
  45. FUSION_WIN2000_LIB_DEST = $(FUSION_PATH)\w2kobj\$(_OBJ_DIR)
  46. FUSION_WIN2000_LIB_PATH = $(FUSION_WIN2000_LIB_DEST)\*
  47. FUSION_URT_LIB_DEST = $(FUSION_PATH)\urtobj\$(_OBJ_DIR)
  48. FUSION_URT_LIB_PATH = $(FUSION_URT_LIB_DEST)\*
  49. FUSION_ALL_LIB_DEST = $(FUSION_PATH)\$(_OBJ_DIR)
  50. FUSION_ALL_LIB_PATH = $(FUSION_ALL_LIB_DEST)\*
  51. !include fusion_$(FUSION_BUILD_TYPE).inc
  52. !if 0
  53. !ifndef FUSION_MBCS
  54. C_DEFINES = $(C_DEFINES) -DUNICODE -D_UNICODE
  55. !endif
  56. !else
  57. C_DEFINES = $(C_DEFINES) -D_MBCS
  58. !endif
  59. !ifdef USE_PERFTAGS
  60. C_DEFINES = $(C_DEFINES) -DPERFTAGS
  61. !endif