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.

132 lines
3.3 KiB

  1. #
  2. # Common include file 'sources' files in the CTF project.
  3. #
  4. #
  5. # Set private paths
  6. #
  7. INCLUDES = \
  8. ..;\
  9. $(WINDOWS_INC_PATH); \
  10. $(SDK_INC_PATH); \
  11. $(BASE_INC_PATH);\
  12. $(INCLUDES)
  13. #
  14. # Skip these files when determining dependencies
  15. #
  16. CONDITIONAL_INCLUDES = $(CONDITIONAL_INCLUDES) \
  17. atlbase.h \
  18. atlcom.h \
  19. atlconv.h \
  20. atlctl.h \
  21. atlctl.cpp \
  22. atliface.h \
  23. atlimpl.cpp \
  24. atlwin.h \
  25. atlwin.cpp \
  26. ia64inst.h \
  27. macapi.h \
  28. macname1.h \
  29. macname2.h \
  30. macocidl.h \
  31. macpub.h \
  32. macwin32.h \
  33. mainwin.h \
  34. mwversion.h \
  35. ntamd64.h \
  36. penwin.h \
  37. pshpck16.h \
  38. rpcerr.h \
  39. rpcmac.h \
  40. setupx.h \
  41. skbapi.h \
  42. statreg.h \
  43. statreg.cpp \
  44. unixstuff.h \
  45. version.h \
  46. winwlm.h \
  47. ..\inc16\shellapi.h \
  48. assertwithstack.h
  49. #
  50. # Do this to assure that we run W2K, NT4, Win9x even with the latest header.
  51. #
  52. WIN32_WINNT_VERSION=$(LATEST_WIN32_WINNT_VERSION)
  53. WIN32_WIN95_VERSION=$(LATEST_WIN32_WIN95_VERSIOIN)
  54. WIN32_IE_VERSION=$(LATEST_WIN32_IE_VERSION)
  55. #
  56. # Override NT5 settings
  57. #
  58. SUBSYSTEM_VERSION=4.00
  59. #
  60. # Defining this allows windows.h to include other headers
  61. #
  62. NOT_LEAN_AND_MEAN= 1
  63. #
  64. # Don't link to the runtime libs
  65. #
  66. USE_NOLIBS = 1
  67. #
  68. # Don't link to NTDLL if this runs on both platforms
  69. #
  70. NO_NTDLL=1
  71. UMTYPE = windows
  72. #
  73. # Additional compiler flags
  74. #
  75. C_DEFINES = $(C_DEFINES) -DWIN32 -D_WIN32 -DUSE_MIRRORING -DNT -DCUAS_ENABLE
  76. !if !defined(NOT_UNICODE)
  77. C_DEFINES = $(C_DEFINES) -DUNICODE -D_UNICODE
  78. !endif
  79. # ------ Debug Only Defines --------
  80. !if "$(FREEBUILD)" == "0"
  81. C_DEFINES = $(C_DEFINES) -DDEBUG
  82. LINKER_NOICF = 1 # ICF is s-l-o-w
  83. # Check for missing PURE directives in interface decls (debug only)
  84. C_DEFINES = $(C_DEFINES) -DNO_NOVTABLE
  85. !endif
  86. # ------ End Debug Only Defines --------
  87. #
  88. # our target is both Win9x and NT. need map and sym.
  89. #
  90. USE_MAPSYM = 1
  91. CICERO_DIR = $(PROJECT_ROOT)\AdvCore\ctf
  92. INCLUDES = $(INCLUDES); \
  93. $(CICERO_DIR)\inc; \
  94. $(CICERO_DIR)\inc\$(O); \
  95. $(CICERO_DIR)\inc_test
  96. CICERO_LIBS = $(CICERO_DIR)\uuid\$O\uimuuid.lib \
  97. $(CICERO_DIR)\lib\$O\immxlib.lib \
  98. $(CICERO_DIR)\prvlib\$O\prvlib.lib \
  99. $(CICERO_DIR)\cicmem\$O\cicmem.lib
  100. CICERO_LIBS2 = $(CICERO_LIBS) \
  101. $(CICERO_DIR)\uim\$O\msctf.lib
  102. !if $(IA64)
  103. # Emit LTCG codegen
  104. LTCG_WKS=1
  105. !endif