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.
54 lines
1.1 KiB
54 lines
1.1 KiB
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 \
|
|
$(COM_LIB_PATH)\prvidl.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.cxx \
|
|
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
|
|
#
|
|
|
|
!if $(386)
|
|
LINKER_STACKCOMMITSIZE=16384
|
|
!else
|
|
LINKER_STACKCOMMITSIZE=32768
|
|
!endif
|
|
|
|
DELAYLOAD=ole32.dll;netapi32.dll
|
|
DLOAD_ERROR_HANDLER=kernel32
|