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.

54 lines
1.2 KiB

  1. #
  2. # Common settings for explorer
  3. #
  4. # Turn structure validation ON in debug builds
  5. #
  6. !if "$(FREEBUILD)" == "0"
  7. C_DEFINES = $(C_DEFINES) -DVSTF
  8. !endif
  9. !if !defined(TARGET_WIN95)
  10. USE_NEW_COMMCTRL=1
  11. !endif
  12. !if defined(USE_NEW_COMMCTRL)
  13. C_DEFINES= $(C_DEFINES) -DUXCTRL_VERSION=0x0100
  14. !endif
  15. CCSHELL_DIR = $(PROJECT_ROOT)
  16. USE_STATIC_ATL = 1
  17. !include $(CCSHELL_DIR)\common.inc
  18. SOURCES_USED = $(SOURCES_USED) $(CCSHELL_DIR)\common.inc
  19. NO_BROWSER_FILE = 1
  20. C_DEFINES = $(C_DEFINES) -D_USRDLL
  21. MSC_WARNING_LEVEL=/W4
  22. #
  23. # Need hydra headers only on NT
  24. #
  25. !if !defined(TARGET_WIN95)
  26. INCLUDES = $(INCLUDES);$(TERMSRV_INC_PATH)
  27. !endif
  28. # A bad application loads Explorer.exe as a library and this fails
  29. # if relocations are not present. So for compat reasons we want fixups.
  30. # App Name: Seagate Backup
  31. LINKER_FLAGS = $(LINKER_FLAGS) -FIXED:NO
  32. !include $(CCSHELL_DIR)\common.inc
  33. SOURCES_USED = $(SOURCES_USED) $(CCSHELL_DIR)\common.inc
  34. !if $(FREEBUILD)
  35. # on retail builds we don't want to stack fault, so we reserve 56k of stack
  36. LINKER_STACKCOMMITSIZE = 57344
  37. !else
  38. # on chk builds, we default to 36k so that we can find stack pigs and elimnate them
  39. LINKER_STACKCOMMITSIZE = 36864
  40. !endif