windows-nt/Source/XPSP1/NT/base/screg/sc/svchost/sources
2020-09-26 16:20:57 +08:00

50 lines
972 B
Plaintext

TARGETNAME=svchost
TARGETPATH=obj
TARGETTYPE=PROGRAM
TARGETLIBS=\
$(SDK_LIB_PATH)\advapi32.lib \
$(SDK_LIB_PATH)\kernl32p.lib \
$(SDK_LIB_PATH)\netapi32.lib \
$(SDK_LIB_PATH)\ntdll.lib \
$(SDK_LIB_PATH)\ole32.lib \
$(SDK_LIB_PATH)\rpcrt4.lib \
$(SDK_LIB_PATH)\rpcutil.lib \
$(BASE_LIB_PATH)\sclib.lib \
..\svcslib\$(O)\svcslib.lib
INCLUDES= ..\inc; \
$(COM_INC_PATH);
C_DEFINES=-DWIN32 -DUNICODE -D_UNICODE
PRECOMPILED_INCLUDE=pch.h
RCOPTIONS=-N
UMENTRY=wmain
UMTYPE=windows
USE_NTDLL=1
MSC_WARNING_LEVEL=/W4 /WX
SOURCES=\
globals.c \
memory.c \
registry.c \
security.c \
svchost.c \
svchost.rc \
svcsnb.c
MISCFILES=\
svchost_{DB95816D-E729-49D9-9EEE-03E1836BB872}.sld
#
# svchost.exe hosts critical services.
# Commit a large enough stack to avoid ever running out on a tight memory system
#
LINKER_STACKCOMMITSIZE=16384
DELAYLOAD=ole32.dll;netapi32.dll
DLOAD_ERROR_HANDLER=kernel32