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.

93 lines
1.8 KiB

  1. # This is the global include file for the daytona version of CairOLE.
  2. # It is included by all project sources files.
  3. C_DEFINES= \
  4. $(C_DEFINES) \
  5. -DFLAT \
  6. -DWIN32=100 \
  7. -D_NT1X_=100 \
  8. -DINC_OLE2 \
  9. -DNOEXCEPTIONS \
  10. -DNASHVILLE \
  11. -DMLUI_SUPPORT \
  12. $(TRACELOG)
  13. !IF "$(FREEBUILD)" == "0"
  14. C_DEFINES= \
  15. $(C_DEFINES) \
  16. -DDBGASSERT=1
  17. !ENDIF
  18. #
  19. # Set debugging level
  20. #
  21. !IF "$(NTDEBUG)" != "" && "$(NTDEBUG)" != "retail" && "$(NTDEBUG)" != "ntsdnodbg"
  22. C_DEFINES=$(C_DEFINES) -DENABLE_DEBUG -DINET_DEBUG=1
  23. #
  24. # remove maximal diagnostics for customer debug version based on environment
  25. # variable
  26. #
  27. !IF "$(FULL_DEBUG)" != ""
  28. C_DEFINES=$(C_DEFINES) -DUSE_DEBUG_MEMORY
  29. !ELSE
  30. C_DEFINES=$(C_DEFINES) -DRETAIL_LOGGING
  31. !IF "$(BUILD_PRODUCT)" != "IE"
  32. C_DEFINES=$(C_DEFINES) -DDISABLE_ASSERTS
  33. !ENDIF
  34. !ENDIF
  35. !ELSE IF "$(ALMOSTRETAIL)" != ""
  36. C_DEFINES=$(C_DEFINES) -DENABLE_DEBUG
  37. !ENDIF
  38. !IFDEF USE_PERFTAGS
  39. !IF $(FREEBUILD)
  40. C_DEFINES = $(C_DEFINES) -DPERFTAGS
  41. !ENDIF
  42. !ENDIF
  43. !if !defined(CLEANINF_FLAGS)
  44. # Cleaninf flags
  45. CLEANINF_FLAGS = -w
  46. !endif
  47. # Cleaninf utility
  48. CLEANINF = cleaninf.exe $(CLEANINF_FLAGS)
  49. # Do this to assure that we run on NT 4.0 and Win95, even with
  50. # NT5/Memphis headers.
  51. #
  52. WIN32_WINNT_VERSION=0x0400
  53. WIN32_WIN95_VERSION=0x0400
  54. # For the Daytona build, we do not want statically linked compiler runtimes,
  55. # so leave this commented out.
  56. #
  57. # USE_MSVCRT=1
  58. # USE_NOLIBS= 1
  59. USE_NOLIBS= 1
  60. # Use the stripped down version for the crt
  61. USE_LIBCMT=1
  62. #
  63. # Linker flags
  64. #
  65. !if "$(BUILD_PRODUCT)" == "IE"
  66. USE_WIN98OPT=1
  67. !endif
  68. MSC_WARNING_LEVEL=/W3 /WX
  69. GPCH_BUILD=..\..\mon\daytona
  70. DELAYLOAD=WININET.DLL;SHELL32.DLL;MPR.DLL
  71. DLOAD_ERROR_HANDLER = shlwapi.dll
  72. DLOAD_FORCE_ERROR_CHECK = 1