Leaked source code of windows server 2003
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.

103 lines
2.7 KiB

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