Leaked source code of windows server 2003
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.

74 lines
1.9 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. !if !$(386)
  38. DELAYLOAD = $(DELAYLOAD);\
  39. winmm.dll
  40. !endif
  41. DLOAD_ERROR_HANDLER = shlwapi
  42. #BUGBUG (reinerf) - I promised bryant that I would fix these
  43. LINKER_FLAGS = $(LINKER_FLAGS) -ignore:4217
  44. SOURCES_USED = $(SOURCES_USED) $(CCSHELL_DIR)\common.inc
  45. #
  46. # Skip these files when checking for dependencies
  47. #
  48. CONDITIONAL_INCLUDES = $(CONDITIONAL_INCLUDES) \
  49. emdef.h \
  50. emrule.h \
  51. mso.h \
  52. msoem.h \
  53. statreg.h \
  54. statreg.cpp \
  55. INCLUDES=$(INCLUDES) \
  56. $(INETCORE_INC_PATH);