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.

67 lines
1.7 KiB

  1. #
  2. # Common makefile include for this project
  3. #
  4. !if !defined(TARGET_WIN95)
  5. USE_NEW_COMMCTRL=1
  6. !endif
  7. !if defined(USE_NEW_COMMCTRL)
  8. C_DEFINES= $(C_DEFINES) -DUXCTRL_VERSION=0x0100
  9. !endif
  10. C_DEFINES = $(C_DEFINES) \
  11. -DIN_SHDOCVW \
  12. -DFEATURE_FRAMES \
  13. -DMSOCT2=1 \
  14. -DBETA1_DIALMON_HACK \
  15. -DFEATURE_URLHIST \
  16. -DFEATURE_PICS \
  17. -DPAGER \
  18. -D_HSFOLDER \
  19. -DFAVORITESTOSHDOCVW \
  20. -DMLUI_SUPPORT \
  21. -DMLUI_MESSAGEBOX \
  22. -DWINDOWS_ME
  23. # Defines for deskmover
  24. C_DEFINES = $(C_DEFINES) \
  25. -D_NTSDK -D_USRDLL -D_WINNT
  26. !if "$(TEST_AMBIENTS)" == "1"
  27. C_DEFINES = $(C_DEFINES) -DTEST_AMBIENTS
  28. !endif
  29. # Turn structure validation ON in debug builds
  30. #
  31. !if "$(FREEBUILD)" == "0"
  32. C_DEFINES = $(C_DEFINES) \
  33. -DVSTF
  34. !endif
  35. # We don't define _ATL_MIN_CRT because we implement the functions ourselves
  36. # (crtfree.h).
  37. # Bring in the ATL headers
  38. USE_STATIC_ATL = 1
  39. # Bring in the WTL headers
  40. USE_WTL=1
  41. WTL_VER=10
  42. USE_MSVCRT = 1
  43. # be careful here-- shdocvw has to run downlevel. Don't add anything to
  44. # the delayload line that you absolutely depend on having downlevel!
  45. DELAYLOAD = shell32.dll;browseui.dll;oleaut32.dll;wininet.dll;urlmon.dll;\
  46. msrating.dll;mshtml.dll;mlang.dll;inetcomm.dll;ole32.dll;\
  47. advpack.dll
  48. !if !$(386)
  49. DELAYLOAD = $(DELAYLOAD);\
  50. version.dll
  51. !endif
  52. !include $(CCSHELL_DIR)\common.inc
  53. SOURCES_USED = $(SOURCES_USED) $(CCSHELL_DIR)\common.inc