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.

154 lines
3.4 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. #
  25. # ROOT
  26. # Path to nm project root.
  27. #
  28. # FREEBUILD
  29. # Set by makefile.def file. One of the following:
  30. # 0 - build debug
  31. # 1 - build retail
  32. #
  33. #
  34. !if !defined(ROOT)
  35. !error ROOT must be defined in sources file
  36. !endif
  37. !if !defined(DEVROOT)
  38. !error DEVROOT must be defined in sources file
  39. !endif
  40. !if "$(BUILD_PRODUCT)" != "NT"
  41. OAK_INC_PATH=$(ROOT)\h # A hack so version.rc can always be found.
  42. SDK_LIB_PATH = $(DEVROOT)\lib\*
  43. SDK_INC_PATH = $(DEVROOT)\inc
  44. CRT_LIB_PATH = $(DEVROOT)\lib\*
  45. CRT_INC_PATH = $(DEVROOT)\inc
  46. #
  47. # Set private paths
  48. #
  49. INCLUDES = ..;$(ROOT)\dev\inc;$(ROOT)\h;$(ROOT)\h\t120;$(INCLUDES)
  50. !else
  51. INCLUDES = ..;$(ROOT)\h;$(ROOT)\h\t120;$(INCLUDES);
  52. !endif
  53. COFFBASE_TXT_FILE = $(ROOT)\h\coffbase.txt
  54. MASTER_VERSION_FILE=$(ROOT)\h\version.h
  55. #
  56. # Set common options
  57. #
  58. # Defining this allows windows.h to include other headers
  59. #NOT_LEAN_AND_MEAN = 1
  60. # Don't link to NT libs - defining this brings in int64.lib
  61. # USE_NOLIBS = 1
  62. # Use multi-thread CRT by default
  63. USE_LIBCMT = 1
  64. # Use C-runtime DLL by default
  65. USE_MSVCRT = 1
  66. # don't use stdcall by default
  67. 386_STDCALL = 0
  68. UMTYPE = windows
  69. #
  70. # Lego options
  71. #
  72. !if defined(NTBBT)
  73. #NTPROFILEINPUT = 1
  74. !endif
  75. # ****** "FINAL" should be defined only for golden builds ******
  76. C_DEFINES = $(C_DEFINES) -DFINAL
  77. !if defined(USE_UNICODE)
  78. C_DEFINES = $(C_DEFINES) -DUNICODE -D_UNICODE
  79. NMUTIL_LIB = nmutilw
  80. !else
  81. NMUTIL_LIB = nmutila
  82. # Insure that we will work on Win 95
  83. CHICAGO_PROJECT = 1
  84. CHICAGO_PRODUCT = 1
  85. NO_NTDLL = 1
  86. !endif
  87. #
  88. # Additional compiler flags
  89. #
  90. !if "$(BUILD_PRODUCT)" == "NT"
  91. WIN32_WINNT_VERSION=0x500
  92. #WIN32_WIN95_VERSION=0x040a
  93. WIN32_IE_VERSION =0x0500
  94. WIN32_DEFINE= -D_WIN32_WINDOWS=0x500 -D_WIN32_WINNT=0x0500
  95. #C_DEFINES =$(C_DEFINES) -DSTRICT -DOS_WINDOWS -DWIN_95_32_BIT -DNASHVILLE
  96. C_DEFINES =$(C_DEFINES) -DSTRICT -DWIN32 -D_WIN32
  97. !if !$(FREEBUILD)
  98. C_DEFINES = $(C_DEFINES) -D_DEBUG -DDEBUG
  99. !endif
  100. ATL_VER = 30
  101. USE_STATIC_ATL = 1
  102. #-D_ATL_NO_DEBUG_CRT
  103. !else
  104. #WIN32_DEFINE=-DWIN32=200 -D_CHICAGO_=200 -D_WIN32_WINDOWS=0x040a -D_WIN32_WINNT=0x0400
  105. #C_DEFINES = $(C_DEFINES) -DSTRICT -DWIN32 -D_WIN32 -DOS_WINDOWS -DWIN_95_32_BIT
  106. !if !$(FREEBUILD)
  107. C_DEFINES = $(C_DEFINES) -D_DEBUG -DDEBUG
  108. DEBUG_CRTS = 1
  109. NTDEBUG = ntsd
  110. NTDEBUGTYPE = windbg
  111. !endif
  112. USE_PDB = 1
  113. USE_PDB_TO_COMPILE = 1
  114. #
  115. # Additional linker flags
  116. #
  117. LINKER_FLAGS = $(LINKER_FLAGS) -map
  118. #
  119. # Get all maps and syms
  120. #
  121. USE_MAPSYM = 1
  122. !endif # BUILD_PRODUCT != NT
  123. # Make warnings equivalent to errors
  124. !if !defined(MSC_WARNING_LEVEL)
  125. MSC_WARNING_LEVEL= /W3
  126. !endif
  127. MSC_WARNING_LEVEL= $(MSC_WARNING_LEVEL) /WX