Source code of Windows XP (NT5)
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.

95 lines
2.5 KiB

  1. TARGETNAME=services
  2. TARGETPATH=obj
  3. TARGETTYPE=PROGRAM
  4. INCLUDES= \
  5. .; \
  6. ..\inc; \
  7. ..\..\winreg; \
  8. $(PROJECT_ROOT)\pnp\inc; \
  9. $(COM_INC_PATH); \
  10. $(WINDOWS_INC_PATH); \
  11. $(NET_INC_PATH); \
  12. $(DS_INC_PATH); \
  13. $(ADMIN_INC_PATH)
  14. C_DEFINES=-DRPC_NO_WINDOWS_H
  15. !IFDEF SC_DEBUG
  16. C_DEFINES=$(C_DEFINES) -DSC_DEBUG=1 -DBOOT_TEST=1 -DSC_REVERT_ENABLED=1
  17. !ENDIF
  18. !IFDEF SC_TIMING
  19. C_DEFINES=$(C_DEFINES) -DTIMING_TEST=1
  20. !ENDIF
  21. !IFNDEF DISABLE_NET_UNICODE
  22. UNICODE=1
  23. NET_C_DEFINES=-DUNICODE
  24. !ENDIF
  25. MSC_WARNING_LEVEL=/W4 /WX
  26. BACKGROUND_USE=1
  27. PRECOMPILED_INCLUDE=precomp.hxx
  28. PRECOMPILED_CXX=1
  29. SOURCES= bootcfg.cxx \
  30. dataman.cxx \
  31. groupman.cxx \
  32. scopen.cxx \
  33. cfgapi.cxx \
  34. cfgapi2.cxx \
  35. control.cxx \
  36. crash.cxx \
  37. depend.cxx \
  38. driver.cxx \
  39. lock.cxx \
  40. lockapi.cxx \
  41. start.cxx \
  42. info.cxx \
  43. scansi.cxx \
  44. status.cxx \
  45. scbsm.cxx \
  46. scconfig.cxx \
  47. scsec.cxx \
  48. account.cxx \
  49. ScLastGood.cxx \
  50. svcctrl.cxx \
  51. svcctl_s.c \
  52. services.cxx \
  53. NCEvents.cxx \
  54. services.rc
  55. #
  56. # services.exe is a system critical process.
  57. # Commit a large enough stack to avoid ever running out on a tight memory system
  58. #
  59. LINKER_STACKCOMMITSIZE=8192
  60. USE_CRTDLL=1
  61. UMTYPE=windows
  62. TARGETLIBS= $(SDK_LIB_PATH)\rpcutil.lib \
  63. $(SDK_LIB_PATH)\rpcrt4.lib \
  64. $(SDK_LIB_PATH)\rpcndr.lib \
  65. $(SDK_LIB_PATH)\secur32.lib \
  66. $(SDK_LIB_PATH)\netapi32.lib \
  67. $(SDK_LIB_PATH)\ntdll.lib \
  68. $(WINDOWS_LIB_PATH)\user32p.lib \
  69. $(SDK_LIB_PATH)\userenv.lib \
  70. $(SDK_LIB_PATH)\scesrv.lib \
  71. $(SDK_LIB_PATH)\ntdsapi.lib \
  72. $(DS_LIB_PATH)\crypstub.lib \
  73. $(COM_LIB_PATH)\trkstub.lib \
  74. $(PROJECT_LIB_PATH)\wrlib.lib \
  75. $(PROJECT_LIB_PATH)\sclib.lib \
  76. $(PROJECT_ROOT)\pnp\umpnpmgr\$(O)\umpnpmgr.lib \
  77. $(PROJECT_ROOT)\screg\winreg\server\$(O)\winreg.lib \
  78. $(PROJECT_ROOT)\screg\sc\svcslib\$(O)\svcslib.lib \
  79. $(ADMIN_LIB_PATH)\NCObjAPI.lib
  80. MISCFILES= scm.mof
  81. DELAYLOAD=ntdsapi.dll;netapi32.dll
  82. DLOAD_ERROR_HANDLER=kernel32