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.

70 lines
2.2 KiB

  1. CCSHELL_DIR= $(PROJECT_ROOT)
  2. MSC_WARNING_LEVEL=/W4
  3. !include $(CCSHELL_DIR)\common.inc
  4. SOURCES_USED= $(SOURCES_USED) $(CCSHELL_DIR)\common.inc
  5. TARGETNAME=shsvcs
  6. TARGETPATH=obj
  7. TARGETTYPE=DYNLINK
  8. DLLDEF=$(O)\shsvcs.def
  9. DLLENTRY=_DllMainCRTStartup
  10. PASS1_PUBLISH={$(O)\shsvcs.lib=$(SHELL_LIB_PATH)\shsvcs.lib}
  11. INCLUDES=$(INCLUDES);\
  12. $(PROJECT_ROOT)\lib\generic;\
  13. $(PROJECT_ROOT)\services\lpc;\
  14. ..\bamsrv;\
  15. ..\themesrv;\
  16. ..\hdsrv\inc
  17. SOURCES=resource.rc \
  18. ShellServicesExports.cpp
  19. # wait for the component libs to build
  20. SYNCHRONIZE_DRAIN=1
  21. LINKLIBS=..\bamsrv\$(O)\bamsrv.lib \
  22. ..\themesrv\$(O)\themesrv.lib \
  23. ..\hdsrv\shsrvice\lib\$(O)\service.lib \
  24. ..\hdsrv\shhwdtct\lib\$(O)\shhwdtct.lib
  25. TARGETLIBS=$(SDK_LIB_PATH)\ntdll.lib \
  26. $(SDK_LIB_PATH)\kernl32p.lib \
  27. $(SDK_LIB_PATH)\advapi32.lib \
  28. $(WINDOWS_LIB_PATH)\user32p.lib \
  29. $(SDK_LIB_PATH)\netapi32.lib \
  30. $(SDK_LIB_PATH)\winsta.lib \
  31. $(SHELL_LIB_PATH)\uxthemep.lib \
  32. $(SDK_LIB_PATH)\ole32.lib \
  33. $(SDK_LIB_PATH)\oleaut32.lib \
  34. $(SHELL_LIB_PATH)\shguidp.lib \
  35. $(SDK_LIB_PATH)\setupapi.lib \
  36. $(SDK_LIB_PATH)\uuid.lib \
  37. $(SDK_LIB_PATH)\userenv.lib \
  38. $(SDK_LIB_PATH)\shlwapi.lib \
  39. $(SHELL_LIB_PATH)\shlwapip.lib \
  40. $(SDK_LIB_PATH)\strsafe.lib \
  41. $(PROJECT_ROOT)\lib\generic\$(O)\generic.lib \
  42. $(TERMSRV_LIB_PATH)\syslib.lib \
  43. ..\lpc\$(O)\lpc.lib \
  44. ..\hdsrv\lib\$(O)\shsrvice.lib \
  45. ..\hdsrv\shhwdtct\lib\$(O)\shhwdtct.lib
  46. # this is here because bamsrv is only needed on i386
  47. !if $(386)
  48. TARGETLIBS=$(TARGETLIBS) \
  49. $(SDK_LIB_PATH)\comctl32.lib \
  50. !endif
  51. USE_MSVCRT=1
  52. DELAYLOAD=uxtheme.dll;winsta.dll;netapi32.dll;ole32.dll;setupapi.dll;userenv.dll
  53. !if $(386)
  54. DELAYLOAD=$(DELAYLOAD);comctl32.dll
  55. !endif
  56. DLOAD_ERROR_HANDLER=kernel32