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.

69 lines
1.7 KiB

  1. #
  2. # Common makefile include for this project
  3. #
  4. C_DEFINES = $(C_DEFINES) \
  5. -DIN_SHDOCVW \
  6. -DFAVORITESTOSHDOCVW \
  7. -DMLUI_SUPPORT \
  8. -DMLUI_MESSAGEBOX \
  9. # Turn structure validation ON in debug builds
  10. #
  11. !if "$(FREEBUILD)" == "0"
  12. C_DEFINES = $(C_DEFINES) \
  13. -DVSTF
  14. !endif
  15. # We don't define _ATL_MIN_CRT because we implement the functions ourselves
  16. # (crtfree.h).
  17. # Define _MERGE_PROXYSTUB to merge the proxy/stub code into the DLL
  18. #C_DEFINES = $(C_DEFINES) -D_MERGE_PROXYSTUB
  19. # Bring in the ATL headers
  20. USE_STATIC_ATL = 1
  21. # Bring in the WTL headers
  22. USE_WTL=1
  23. WTL_VER=10
  24. !if !defined(TARGET_WIN95)
  25. USE_NEW_COMMCTRL = 1
  26. !endif
  27. !if defined(USE_NEW_COMMCTRL)
  28. C_DEFINES = $(C_DEFINES) -DUXCTRL_VERSION=0x0100
  29. !endif
  30. !include $(CCSHELL_DIR)\common.inc
  31. LINKER_FLAGS = $(LINKER_FLAGS) -MERGE:.CRT=.data
  32. USE_MSVCRT = 1
  33. # be careful here-- browseui has to run downlevel. Don't add anything to
  34. # the delayload line that you absolutely depend on having downlevel!
  35. DELAYLOAD = mpr.dll;shell32.dll;imm32.dll;wininet.dll;urlmon.dll;\
  36. shdocvw.dll;msimg32.dll;oleaut32.dll;uxtheme.dll
  37. DLOAD_ERROR_HANDLER = shlwapi
  38. #BUGBUG (reinerf) - I promised bryant that I would fix these
  39. LINKER_FLAGS = $(LINKER_FLAGS) -ignore:4217
  40. SOURCES_USED = $(SOURCES_USED) $(CCSHELL_DIR)\common.inc
  41. #
  42. # Skip these files when checking for dependencies
  43. #
  44. CONDITIONAL_INCLUDES = $(CONDITIONAL_INCLUDES) \
  45. emdef.h \
  46. emrule.h \
  47. mso.h \
  48. msoem.h \
  49. statreg.h \
  50. statreg.cpp \
  51. INCLUDES=$(INCLUDES) \
  52. $(INETCORE_INC_PATH);