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.

115 lines
2.3 KiB

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