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.

72 lines
1.7 KiB

  1. ###############################################################################
  2. #
  3. # Microsoft Confidential
  4. # Copyright (C) Microsoft Corporation 1995
  5. # All Rights Reserved.
  6. #
  7. # WAB Common definitions
  8. #
  9. ###############################################################################
  10. ####################
  11. # Set directories
  12. ####################
  13. !if ! defined(DEV)
  14. !if ! defined(BLDROOT)
  15. ! error BLDROOT must be defined.
  16. !else
  17. DEV = $(BLDROOT)\dev
  18. !endif
  19. !endif
  20. !if ! defined(THOR)
  21. !if ! defined(BLDROOT)
  22. ! error THOR must be defined.
  23. !else
  24. THOR = $(BLDROOT)\inet\inetpim
  25. !endif
  26. !endif
  27. ROOT = ..\..\..
  28. THOR_ROOT = $(THOR)
  29. COMMON_ROOT = $(THOR)\common
  30. WAB_ROOT = $(THOR)\wab
  31. WABAPI_ROOT = $(WAB_ROOT)\wabapi
  32. WABMIG_ROOT = $(WAB_ROOT)\wabmig
  33. WABEXE_ROOT = $(WAB_ROOT)\wabexe
  34. WAB_COMMON = $(WAB_ROOT)\common
  35. MSDEV_PATH = $(DEV)\msdev
  36. WINSDK_PATH = $(DEV)\sdk
  37. WINDDK_PATH = $(DEV)\ddk
  38. TOOLS_PATH = $(DEV)\tools
  39. # TOOLS_INCLUDE = $(WINSDK_PATH)\inc;$(DEV)\inc;$(WINSDK_PATH)\inc16;$(MSDEV_PATH)\include;
  40. TOOLS_INCLUDE = $(DEV)\inc;$(WINSDK_PATH)\inc;$(DEV)\ddk\inc;$(TOOLS_PATH)\c1032\inc;$(WINSDK_PATH)\inc16;$(MSDEV_PATH)\include
  41. !if "$(BUILD)" == "debug"
  42. EXT_LINK_SWITCHES = -debug:full -debugtype:cv -pdb:none
  43. !endif
  44. OBJDIR = $(DEST_DIR)
  45. !ifndef BUILD
  46. BUILD = debug
  47. !endif
  48. !if "$(PROFILE)" == "on"
  49. LIBS = $(LIBS) icap.lib
  50. !endif
  51. #
  52. # Generate mixed source/assembly output
  53. #
  54. EXT_C_SWITCHES = $(EXT_C_SWITCHES) /Oi /YX /D_MT /Gf3s
  55. #
  56. !if defined(BROWSE)
  57. EXT_C_SWITCHES = $(EXT_C_SWITCHES) /Fr
  58. !endif