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.

103 lines
2.3 KiB

  1. #!INCLUDE $(PROJECT_ROOT)\pchealth\build\paths.all
  2. PCHROOT=$(PROJECT_ROOT)\pchealth
  3. LOCALROOT=$(PCHROOT)\sr
  4. LOCALTARGET=$(LOCALROOT)\target\$(_OBJ_DIR)
  5. LOCALLIBPATH=$(LOCALROOT)\target\$(O)
  6. LINKER_STACKCOMMITSIZE=81920
  7. TARGETNAME=rstrui
  8. TARGETPATH=$(LOCALTARGET)
  9. TARGETTYPE=PROGRAM
  10. UMTYPE=windows
  11. UMENTRY=wwinmain
  12. BINPLACE_PLACEFILE=$(PCHROOT)\build\placefile
  13. LEGACY_CODE=0
  14. USE_STATIC_ATL=1
  15. ATL_VER=30
  16. USE_NATIVE_EH=1
  17. USE_STL=1
  18. USE_MSVCRT=1
  19. USE_TRACING=1
  20. C_DEFINES= -DUNICODE -DRING3 -D_STATEMGR -D_STATEMGRDLL_EXPORTS
  21. !if "$(LEGACY_CODE)"=="1"
  22. C_DEFINES= $(C_DEFINES) -DLEGACY_CODE
  23. !endif
  24. SOURCES= \
  25. srui_htm.idl \
  26. extwrap.cpp \
  27. FrmMars.cpp \
  28. htmlui.cpp \
  29. htmlui2.cpp \
  30. logfile.cpp \
  31. main.cpp \
  32. MarsHost.cpp \
  33. rstrmgr.cpp \
  34. rstrprog.cpp \
  35. util.cpp \
  36. stubs.cpp \
  37. rstrui.rc \
  38. dload.cpp
  39. MISCFILES= \
  40. srframe.mmf \
  41. INCLUDES= \
  42. ..; \
  43. ..\res; \
  44. $(LOCALROOT)\inc; \
  45. $(LOCALROOT)\enumlogs; \
  46. $(LOCALROOT)\service; \
  47. $(LOCALROOT)\utils; \
  48. $(LOCALROOT)\datastor; \
  49. $(PCHROOT)\core\include; \
  50. $(PCHROOT)\PCHMars\inc\$(O); \
  51. $(LOCALLIBPATH);\
  52. $(TERMSRV_INC_PATH);\
  53. $(INCLUDES); \
  54. TARGETLIBS= \
  55. $(SDK_LIB_PATH)\ntdll.lib \
  56. $(LOCALLIBPATH)\srrstr.lib \
  57. $(LOCALLIBPATH)\snapshot.lib \
  58. $(LOCALLIBPATH)\enumlogs.lib \
  59. $(LOCALLIBPATH)\srclient.lib \
  60. $(LOCALLIBPATH)\utils.lib \
  61. $(PCHROOT)\core\target\$(O)\atrace_stub.lib \
  62. $(SDK_LIB_PATH)\comctl32.lib \
  63. $(SDK_LIB_PATH)\uuid.lib \
  64. $(SDK_LIB_PATH)\ole32.lib \
  65. $(SDK_LIB_PATH)\wbemuuid.lib \
  66. $(SDK_LIB_PATH)\oleaut32.lib \
  67. $(SDK_LIB_PATH)\version.lib \
  68. $(SDK_LIB_PATH)\winsta.lib \
  69. !if "$(LEGACY_CODE)"=="1"
  70. TARGETLIBS= $(TARGETLIBS) \
  71. $(SDK_LIB_PATH)\cabinet.lib \
  72. $(LOCALLIBPATH)\smgr.lib \
  73. $(LOCALLIBPATH)\dsmgmt.lib \
  74. $(LOCALLIBPATH)\utils.lib \
  75. $(LOCALLIBPATH)\restmap.lib \
  76. $(LOCALLIBPATH)\vxddatlib.lib \
  77. $(LOCALLIBPATH)\commonlib.lib \
  78. $(LOCALLIBPATH)\commonlibw.lib \
  79. $(LOCALLIBPATH)\sfc.lib \
  80. !endif
  81. UMLIBS= \
  82. $(SDK_LIB_PATH)\shlwapi.lib \
  83. DELAYLOAD=srclient.dll
  84. DLOAD_ERROR_HANDLER=SystemRestore_DelayLoadFailureHook
  85. PRECOMPILED_INCLUDE=..\stdwin.h
  86. PRECOMPILED_CXX=1