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.
104 lines
2.7 KiB
104 lines
2.7 KiB
TARGETNAME=services
|
|
TARGETPATH=obj
|
|
TARGETTYPE=PROGRAM
|
|
|
|
INCLUDES= \
|
|
.; \
|
|
..\inc; \
|
|
$(PROJECT_ROOT)\screg\winreg;\
|
|
$(PROJECT_ROOT)\screg\winreg\idl\$(O);\
|
|
$(PROJECT_ROOT)\pnp\inc; \
|
|
$(PROJECT_ROOT)\pnp\idl\$(O); \
|
|
$(PROJECT_ROOT)\pnp\idl; \
|
|
$(COM_INC_PATH); \
|
|
$(WINDOWS_INC_PATH); \
|
|
$(NET_INC_PATH); \
|
|
$(DS_INC_PATH); \
|
|
$(ADMIN_INC_PATH)
|
|
|
|
C_DEFINES=-DRPC_NO_WINDOWS_H
|
|
|
|
!IFDEF SC_DEBUG
|
|
C_DEFINES=$(C_DEFINES) -DSC_DEBUG=1 -DBOOT_TEST=1 -DSC_REVERT_ENABLED=1
|
|
!ENDIF
|
|
|
|
!IFDEF SC_TIMING
|
|
C_DEFINES=$(C_DEFINES) -DTIMING_TEST=1
|
|
!ENDIF
|
|
|
|
!IFNDEF DISABLE_NET_UNICODE
|
|
UNICODE=1
|
|
NET_C_DEFINES=-DUNICODE
|
|
!ENDIF
|
|
|
|
MSC_WARNING_LEVEL=/W4 /WX
|
|
|
|
BACKGROUND_USE=1
|
|
|
|
PRECOMPILED_INCLUDE=precomp.hxx
|
|
PRECOMPILED_CXX=1
|
|
|
|
SOURCES= \
|
|
bootcfg.cxx \
|
|
dataman.cxx \
|
|
groupman.cxx \
|
|
scopen.cxx \
|
|
cfgapi.cxx \
|
|
cfgapi2.cxx \
|
|
control.cxx \
|
|
crash.cxx \
|
|
depend.cxx \
|
|
driver.cxx \
|
|
lock.cxx \
|
|
lockapi.cxx \
|
|
start.cxx \
|
|
info.cxx \
|
|
scansi.cxx \
|
|
status.cxx \
|
|
scaudit.cxx \
|
|
scbsm.cxx \
|
|
scconfig.cxx \
|
|
scsec.cxx \
|
|
account.cxx \
|
|
ScLastGood.cxx \
|
|
svcctrl.cxx \
|
|
svcctl_s.c \
|
|
services.cxx \
|
|
NCEvents.cxx \
|
|
services.rc
|
|
|
|
#
|
|
# services.exe is a system critical process.
|
|
# 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
|
|
|
|
USE_CRTDLL=1
|
|
UMTYPE=windows
|
|
TARGETLIBS= $(SDK_LIB_PATH)\rpcutil.lib \
|
|
$(SDK_LIB_PATH)\rpcrt4.lib \
|
|
$(SDK_LIB_PATH)\secur32.lib \
|
|
$(SDK_LIB_PATH)\netapi32.lib \
|
|
$(SDK_LIB_PATH)\ntdll.lib \
|
|
$(SDK_LIB_PATH)\authzi.lib \
|
|
$(WINDOWS_LIB_PATH)\user32p.lib \
|
|
$(SDK_LIB_PATH)\userenv.lib \
|
|
$(SDK_LIB_PATH)\scesrv.lib \
|
|
$(SDK_LIB_PATH)\ntdsapi.lib \
|
|
$(DS_LIB_PATH)\crypstub.lib \
|
|
$(COM_LIB_PATH)\trkstub.lib \
|
|
$(PROJECT_LIB_PATH)\wrlib.lib \
|
|
$(PROJECT_LIB_PATH)\sclib.lib \
|
|
$(PROJECT_ROOT)\pnp\umpnpmgr\$(O)\umpnpmgr.lib \
|
|
$(PROJECT_ROOT)\screg\sc\svcslib\$(O)\svcslib.lib \
|
|
$(ADMIN_LIB_PATH)\NCObjAPI.lib
|
|
|
|
MISCFILES= scm.mof
|
|
|
|
DELAYLOAD=ntdsapi.dll;netapi32.dll;authz.dll
|
|
DLOAD_ERROR_HANDLER=kernel32
|