116 lines
2.3 KiB
Plaintext
116 lines
2.3 KiB
Plaintext
|
#!INCLUDE $(PROJECT_ROOT)\pchealth\build\paths.all
|
||
|
|
||
|
#MAJORCOMP=sr
|
||
|
#MINORCOMP=shell
|
||
|
|
||
|
PCHROOT=$(PROJECT_ROOT)\pchealth
|
||
|
LOCALROOT=$(PCHROOT)\sr
|
||
|
LOCALTARGET=$(LOCALROOT)\target\$(_OBJ_DIR)
|
||
|
LOCALLIBPATH=$(LOCALROOT)\target\$(O)
|
||
|
LINKER_STACKCOMMITSIZE=81920
|
||
|
TARGETNAME=rstrui
|
||
|
TARGETPATH=$(LOCALTARGET)
|
||
|
TARGETTYPE=PROGRAM
|
||
|
UMTYPE=windows
|
||
|
UMENTRY=wwinmain
|
||
|
#UMENTRYABS=ModuleEntry
|
||
|
|
||
|
BINPLACE_PLACEFILE=$(PCHROOT)\build\placefile
|
||
|
|
||
|
LEGACY_CODE=0
|
||
|
|
||
|
USE_STATIC_ATL=1
|
||
|
ATL_VER=30
|
||
|
|
||
|
USE_NATIVE_EH=1
|
||
|
|
||
|
#USE_IERT=1
|
||
|
#USE_STL=1
|
||
|
USE_NOLIBS=1
|
||
|
|
||
|
USE_TRACING=1
|
||
|
|
||
|
C_DEFINES= -DUNICODE -DRING3 -D_STATEMGR -D_STATEMGRDLL_EXPORTS
|
||
|
!if "$(LEGACY_CODE)"=="1"
|
||
|
C_DEFINES= $(C_DEFINES) -DLEGACY_CODE
|
||
|
!endif
|
||
|
|
||
|
SOURCES= \
|
||
|
srui_htm.idl \
|
||
|
extwrap.cpp \
|
||
|
FrmMars.cpp \
|
||
|
htmlui.cpp \
|
||
|
htmlui2.cpp \
|
||
|
logfile.cpp \
|
||
|
main.cpp \
|
||
|
MarsHost.cpp \
|
||
|
rstrmgr.cpp \
|
||
|
rstrprog.cpp \
|
||
|
util.cpp \
|
||
|
stubs.cpp \
|
||
|
rstrui.rc \
|
||
|
dload.cpp
|
||
|
|
||
|
|
||
|
MISCFILES= \
|
||
|
srframe.mmf \
|
||
|
|
||
|
INCLUDES= \
|
||
|
..; \
|
||
|
..\res; \
|
||
|
$(LOCALROOT)\inc; \
|
||
|
$(LOCALROOT)\enumlogs; \
|
||
|
$(LOCALROOT)\service; \
|
||
|
$(LOCALROOT)\utils; \
|
||
|
$(LOCALROOT)\datastor; \
|
||
|
$(PCHROOT)\core\include; \
|
||
|
$(PCHROOT)\PCHMars\inc\$(O); \
|
||
|
$(LOCALLIBPATH);\
|
||
|
$(TERMSRV_INC_PATH);\
|
||
|
$(INCLUDES); \
|
||
|
|
||
|
|
||
|
TARGETLIBS= \
|
||
|
$(LOCALLIBPATH)\srrstr.lib \
|
||
|
$(LOCALLIBPATH)\snapshot.lib \
|
||
|
$(LOCALLIBPATH)\enumlogs.lib \
|
||
|
$(LOCALLIBPATH)\srclient.lib \
|
||
|
$(LOCALLIBPATH)\utils.lib \
|
||
|
$(PCHROOT)\core\target\$(O)\atrace_stub.lib \
|
||
|
$(SDK_LIB_PATH)\comctl32.lib \
|
||
|
$(SDK_LIB_PATH)\uuid.lib \
|
||
|
$(SDK_LIB_PATH)\ole32.lib \
|
||
|
$(SDK_LIB_PATH)\wbemuuid.lib \
|
||
|
$(SDK_LIB_PATH)\oleaut32.lib \
|
||
|
$(SDK_LIB_PATH)\msvcrt.lib \
|
||
|
$(SDK_LIB_PATH)\version.lib \
|
||
|
$(SDK_LIB_PATH)\ntdll.lib \
|
||
|
$(SDK_LIB_PATH)\winsta.lib \
|
||
|
|
||
|
!if "$(LEGACY_CODE)"=="1"
|
||
|
TARGETLIBS= $(TARGETLIBS) \
|
||
|
$(SDK_LIB_PATH)\cabinet.lib \
|
||
|
$(LOCALLIBPATH)\smgr.lib \
|
||
|
$(LOCALLIBPATH)\dsmgmt.lib \
|
||
|
$(LOCALLIBPATH)\utils.lib \
|
||
|
$(LOCALLIBPATH)\restmap.lib \
|
||
|
$(LOCALLIBPATH)\vxddatlib.lib \
|
||
|
$(LOCALLIBPATH)\commonlib.lib \
|
||
|
$(LOCALLIBPATH)\commonlibw.lib \
|
||
|
$(LOCALLIBPATH)\sfc.lib \
|
||
|
|
||
|
!endif
|
||
|
|
||
|
|
||
|
UMLIBS= \
|
||
|
$(SDK_LIB_PATH)\shlwapi.lib \
|
||
|
|
||
|
|
||
|
DELAYLOAD=srclient.dll
|
||
|
DLOAD_ERROR_HANDLER=SystemRestore_DelayLoadFailureHook
|
||
|
|
||
|
PRECOMPILED_INCLUDE=..\stdwin.h
|
||
|
PRECOMPILED_CXX=1
|
||
|
|
||
|
#!INCLUDE $(INETROOT)\build\sources.all
|