TARGETNAME=services TARGETPATH=obj TARGETTYPE=PROGRAM INCLUDES= \ .; \ ..\inc; \ ..\..\winreg; \ $(PROJECT_ROOT)\pnp\inc; \ $(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 \ 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 # LINKER_STACKCOMMITSIZE=8192 USE_CRTDLL=1 UMTYPE=windows TARGETLIBS= $(SDK_LIB_PATH)\rpcutil.lib \ $(SDK_LIB_PATH)\rpcrt4.lib \ $(SDK_LIB_PATH)\rpcndr.lib \ $(SDK_LIB_PATH)\secur32.lib \ $(SDK_LIB_PATH)\netapi32.lib \ $(SDK_LIB_PATH)\ntdll.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\winreg\server\$(O)\winreg.lib \ $(PROJECT_ROOT)\screg\sc\svcslib\$(O)\svcslib.lib \ $(ADMIN_LIB_PATH)\NCObjAPI.lib MISCFILES= scm.mof DELAYLOAD=ntdsapi.dll;netapi32.dll DLOAD_ERROR_HANDLER=kernel32