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.

96 lines
2.7 KiB

  1. #
  2. # sources.vip
  3. #
  4. # Common sources directives for all of Viper.
  5. # The line
  6. #
  7. # !include "$(NTMAKEENV)\sources.vip"
  8. #
  9. # should be the first line in all of Viper's sources files
  10. #
  11. # Bob Atkinson
  12. # April, 1997
  13. !include $(PROJECT_ROOT)\iis\place.inc
  14. MAJORCOMP=IISCFG
  15. USE_PDB=1
  16. USE_PDB_TO_COMPILE=1
  17. USE_MAPSYM=1
  18. NT_UP=0
  19. #######################################################################################
  20. #
  21. # User mode: Set the DLL entry point as sent to the linker
  22. #
  23. DLLENTRY=_DllMainCRTStartup
  24. #######################################################################################
  25. #
  26. # As we don't want any proxy or stub files (at least for now;
  27. # an interesting idea to add same!) we make the file names
  28. # used for these file to be nul. MIDL_OPTIMIZATION is a macro
  29. # that happens to get passed through LAST (!) to the MIDL compiler,
  30. # allowing us to override pretty much anything that makefile.def
  31. # is doing instead.
  32. #
  33. MIDL_DEFAULT_OPTIMIZATION=$(MIDL_OPTIMIZATION_NT5)
  34. # This is the macro that the IDL build line actually sees. It's
  35. # last on the command line, so takes precedence.
  36. #
  37. MIDL_OPTIMIZATION=$(MIDL_DEFAULT_OPTIMIZATION)
  38. #######################################################################################
  39. #
  40. # Generate stack checking calls in the checked builds. A custom
  41. # __chkstk is linked to expose uses of uninitialized local variables.
  42. #
  43. USE_STACK_CHECK=
  44. #######################################################################################
  45. USE_ATL=1
  46. ATL_VER=30
  47. USE_MSVCRT=1
  48. UNICODE=1
  49. C_DEFINES=$(C_DEFINES) -DUNICODE -D_UNICODE -DIIS -DCB_FIXED_TABLE_HEAP=876544
  50. #
  51. # Set DEBUG,_DEBUG
  52. #
  53. !if $(FREEBUILD)
  54. !else
  55. C_DEFINES = $(C_DEFINES) -D_DEBUG=1 -DDEBUG=1
  56. !endif
  57. #######################################################################################
  58. #
  59. # Set our include paths to be the tree of 'inc'lude directories above
  60. # us. Each is assumed, if it exists, to be a include directory of increasingly
  61. # greater degree of public disclosure.
  62. #
  63. INCLUDES= \
  64. $(IISBASEDIR)\inc; \
  65. $(IISBASEDIR)\inc\$(O); \
  66. $(IISBASEDIR)\config\src\inc; \
  67. $(IISBASEDIR)\config\src\inc\$(O); \
  68. !undef USE_INCREMENTAL_LINKING
  69. #######################################################################################
  70. #
  71. # Use a global warning control.
  72. #
  73. MSC_WARNING_LEVEL=/W4 /WX
  74. #######################################################################################
  75. #
  76. # Use precompiled headers.
  77. #
  78. !IF "$(NTNOPCH)" == ""
  79. PRECOMPILED_INCLUDE=precomp.hxx
  80. PRECOMPILED_PCH=precomp.pch
  81. PRECOMPILED_OBJ=precomp.obj
  82. !ENDIF