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.

147 lines
3.5 KiB

  1. #
  2. # GHOST: h\shlguid.h and all of dev except this file.
  3. #
  4. ##########################################################################
  5. #
  6. # Microsoft Confidential
  7. # Copyright (C) Microsoft Corporation 1991-96
  8. # All Rights Reserved.
  9. #
  10. ##########################################################################
  11. #
  12. # Common include file 'sources' files in the NetMeeting project.
  13. #
  14. # History:
  15. # Common NetMeeting makefile created 13-Aug-96 Chris Pirich (chrispi)
  16. # Common ccshell makefile and cleanup 15-Apr-96 Scott Hysom (scotth)
  17. # Created 27-Sep-94 by Bob Day (bobday)
  18. # from template created 12-Apr-1990 by Steve Wood (stevewo)
  19. #
  20. #
  21. #
  22. #
  23. # Required definitions:
  24. # FREEBUILD
  25. # Set by makefile.def file. One of the following:
  26. # 0 - build debug
  27. # 1 - build retail
  28. #
  29. #
  30. !if "$(BUILD_PRODUCT)" != "NT"
  31. OAK_INC_PATH=$(NMROOT)\h # A hack so version.rc can always be found.
  32. SDK_LIB_PATH = $(DEVROOT)\lib\*
  33. SDK_INC_PATH = $(DEVROOT)\inc
  34. CRT_LIB_PATH = $(DEVROOT)\lib\*
  35. CRT_INC_PATH = $(DEVROOT)\inc
  36. #
  37. # Set private paths
  38. #
  39. INCLUDES = ..;$(NMROOT)\dev\inc;$(NMROOT)\h;$(NMROOT)\h\t120;$(INCLUDES)
  40. !else
  41. INCLUDES = ..;$(NMROOT)\h;$(NMROOT)\h\t120;$(INCLUDES);
  42. !endif
  43. COFFBASE_TXT_FILE = $(NMROOT)\h\coffbase.txt
  44. MASTER_VERSION_FILE=$(NMROOT)\h\version.h
  45. #
  46. # Set common options
  47. #
  48. # Defining this allows windows.h to include other headers
  49. #NOT_LEAN_AND_MEAN = 1
  50. # Don't link to NT libs - defining this brings in int64.lib
  51. # USE_NOLIBS = 1
  52. # Use multi-thread CRT by default
  53. USE_LIBCMT = 1
  54. # Use C-runtime DLL by default
  55. USE_MSVCRT = 1
  56. # don't use stdcall by default
  57. 386_STDCALL = 0
  58. UMTYPE = windows
  59. #
  60. # Lego options
  61. #
  62. !if defined(NTBBT)
  63. #NTPROFILEINPUT = 1
  64. !endif
  65. # ****** "FINAL" should be defined only for golden builds ******
  66. C_DEFINES = $(C_DEFINES) -DFINAL
  67. !if defined(USE_UNICODE)
  68. C_DEFINES = $(C_DEFINES) -DUNICODE -D_UNICODE
  69. NMUTIL_LIB = nmutilw
  70. !else
  71. NMUTIL_LIB = nmutila
  72. # Insure that we will work on Win 95
  73. CHICAGO_PROJECT = 1
  74. CHICAGO_PRODUCT = 1
  75. NO_NTDLL = 1
  76. !endif
  77. #
  78. # Additional compiler flags
  79. #
  80. !if "$(BUILD_PRODUCT)" == "NT"
  81. WIN32_WINNT_VERSION=0x500
  82. #WIN32_WIN95_VERSION=0x040a
  83. WIN32_IE_VERSION =0x0500
  84. WIN32_DEFINE= -D_WIN32_WINDOWS=0x500 -D_WIN32_WINNT=0x0500
  85. #C_DEFINES =$(C_DEFINES) -DSTRICT -DOS_WINDOWS -DWIN_95_32_BIT -DNASHVILLE
  86. C_DEFINES =$(C_DEFINES) -DSTRICT -DWIN32 -D_WIN32
  87. !if !$(FREEBUILD)
  88. C_DEFINES = $(C_DEFINES) -D_DEBUG -DDEBUG
  89. !endif
  90. ATL_VER = 30
  91. USE_STATIC_ATL = 1
  92. #-D_ATL_NO_DEBUG_CRT
  93. !else
  94. #WIN32_DEFINE=-DWIN32=200 -D_CHICAGO_=200 -D_WIN32_WINDOWS=0x040a -D_WIN32_WINNT=0x0400
  95. #C_DEFINES = $(C_DEFINES) -DSTRICT -DWIN32 -D_WIN32 -DOS_WINDOWS -DWIN_95_32_BIT
  96. !if !$(FREEBUILD)
  97. C_DEFINES = $(C_DEFINES) -D_DEBUG -DDEBUG
  98. DEBUG_CRTS = 1
  99. NTDEBUG = ntsd
  100. NTDEBUGTYPE = windbg
  101. !endif
  102. USE_PDB = 1
  103. USE_PDB_TO_COMPILE = 1
  104. #
  105. # Additional linker flags
  106. #
  107. LINKER_FLAGS = $(LINKER_FLAGS) -map
  108. #
  109. # Get all maps and syms
  110. #
  111. USE_MAPSYM = 1
  112. !endif # BUILD_PRODUCT != NT
  113. # Make warnings equivalent to errors
  114. !if !defined(MSC_WARNING_LEVEL)
  115. MSC_WARNING_LEVEL= /W3
  116. !endif
  117. MSC_WARNING_LEVEL= $(MSC_WARNING_LEVEL) /WX
  118. # Since we build as a Chicago product, we don't pull in ntdll.lib on FRE builds.
  119. # Use the non-NTDLL version of overrun detection as a result.
  120. BUFFER_OVERFLOW_CHECKS=NO_NTDLL