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.2 KiB

  1. #----- Definition of the common paths -----
  2. !ifndef IEAK_PATH
  3. IEAK_PATH = $(PROJECT_ROOT)\setup\ieak5
  4. !endif
  5. !ifndef IEAK_INC_PATH
  6. IEAK_INC_PATH = $(IEAK_PATH)\inc
  7. !endif
  8. !ifndef IEAK_UTIL_PATH
  9. IEAK_UTIL_PATH = $(IEAK_PATH)\ieakutil
  10. !endif
  11. IEAK_UTIL_PATHA = $(IEAK_UTIL_PATH)\srca
  12. IEAK_UTIL_PATHW = $(IEAK_UTIL_PATH)\srcw
  13. !ifndef IEAK_UI_PATH
  14. IEAK_UI_PATH = $(IEAK_PATH)\ieakui
  15. !endif
  16. !ifndef IEAK_ENG_PATH
  17. IEAK_ENG_PATH = $(IEAK_PATH)\ieakeng
  18. !endif
  19. !ifndef IEAK_ADMPARSE_PATH
  20. IEAK_ADMPARSE_PATH = $(IEAK_PATH)\parser
  21. !endif
  22. #----- Standard macros setup -----
  23. TARGETPATH = $(_OBJ_DIR)
  24. UMTYPE = windows
  25. #----- C/C++ compilation settings -----
  26. # (pritobla) should define NASHVILLE so that the version number remains the same whether it's
  27. # built under IE or NT environment
  28. # NOTE: All the binaries that include common.inc will be compiled UNICODE !
  29. C_DEFINES = $(C_DEFINES) -D_WIN32_DCOM -DNASHVILLE
  30. !ifndef NO_UNICODE
  31. C_DEFINES = $(C_DEFINES) -DUNICODE -D_UNICODE
  32. !endif
  33. MSC_WARNING_LEVEL = -W4 -WX
  34. COMPILER_WARNINGS = -FI$(IEAK_INC_PATH)\warning.h
  35. USE_STATIC_ATL = 1
  36. ATL_VER = 21
  37. # (andrewgu) disable for now, since browser_info story is not clear in the source depot
  38. # !if !$(FREEBUILD)
  39. # BROWSER_INFO = 1
  40. # !endif
  41. # _____ Precompiled header settings _____
  42. PRECOMPILED_CXX = 1
  43. PRECOMPILED_INCLUDE = precomp.h
  44. # _____ Include search paths _____
  45. INCLUDES = \
  46. $(IEAK_INC_PATH); \
  47. $(IEAK_UTIL_PATH); \
  48. $(IEAK_ENG_PATH); \
  49. $(IEAK_UI_PATH); \
  50. $(DS_INC_PATH); \
  51. $(SHELL_INC_PATH)
  52. CONDITIONAL_INCLUDES = \
  53. atlbase.h \
  54. atlcom.h \
  55. atlconv.h \
  56. atlwin.h \
  57. statreg.h \
  58. statreg.cpp \
  59. atlimpl.cpp \
  60. atlsnap.h \
  61. dlgs.h \
  62. rpcerr.h \
  63. rpcmac.h \
  64. macname1.h \
  65. macpub.h \
  66. macapi.h \
  67. macname2.h \
  68. macwin32.h \
  69. macodidl.h \
  70. macocidl.h \
  71. winwlm.h \
  72. thunk.h
  73. #----- Libraries -----
  74. USE_NOLIBS = 1
  75. USE_PDB = 1
  76. TARGETLIBS = \
  77. $(SDK_LIB_PATH)\kernel32.lib \
  78. $(SDK_LIB_PATH)\user32.lib \
  79. $(SDK_LIB_PATH)\gdi32.lib \
  80. $(SDK_LIB_PATH)\advapi32.lib \
  81. $(SHELL_LIB_PATH)\shlwapip.lib