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.

106 lines
3.9 KiB

  1. CCSHELL_DIR = $(PROJECT_ROOT)
  2. NOT_UNICODE = 1
  3. BUILD_PRIVLIB = 1
  4. # This directory needs to be build last
  5. SYNCHRONIZE_DRAIN=1
  6. !include $(CCSHELL_DIR)\shlwapi\shlwapi.inc
  7. SOURCES_USED = $(SOURCES_USED) $(CCSHELL_DIR)\shlwapi\shlwapi.inc
  8. TARGETNAME = shlwapi
  9. TARGETPATH = obj
  10. TARGETTYPE = DYNLINK
  11. USE_MSVCRT = 1
  12. #VERIFY_LC = 1
  13. LC_PATH = $(PROJECT_ROOT)\lcinf
  14. LINKER_FLAGS = $(LINKER_FLAGS) -ignore:4217
  15. PASS1_PUBLISH= \
  16. {$(O)\shlwapi.lib=$(SDK_LIB_PATH)\shlwapi.lib} \
  17. {$(O)\shlwapip.lib=$(SHELL_LIB_PATH)\shlwapip.lib}
  18. TARGETLIBS = \
  19. $(SDK_LIB_PATH)\htmlhelp.lib \
  20. $(SDK_LIB_PATH)\uuid.lib \
  21. $(CCSHELL_DIR)\lib\$(O)\shguid.lib \
  22. $(DS_LIB_PATH)\rsa32.lib \
  23. $(SDK_LIB_PATH)\ole32.lib \
  24. $(WINDOWS_LIB_PATH)\apphelp.lib \
  25. $(CCSHELL_DIR)\ext\mlang\dll\$(O)\mlang.lib \
  26. $(SHELL_LIB_PATH)\comctlp.lib \
  27. $(SDK_LIB_PATH)\comctl32.lib \
  28. !if $(386)
  29. $(SDK_LIB_DEST)\chicago\i386\mpr.lib \
  30. !endif
  31. $(SDK_LIB_PATH)\oleaut32.lib \
  32. $(SDK_LIB_PATH)\msi.lib \
  33. $(SDK_LIB_PATH)\setupapi.lib \
  34. $(SDK_LIB_PATH)\userenv.lib
  35. IGNORE_LINKLIB_ABUSE=1
  36. LINKLIBS = ..\srca\$(O)\shlwansi.lib \
  37. ..\srcw\$(O)\shlwuni.lib \
  38. ..\srccpp\$(O)\srccpp.lib \
  39. $(CCSHELL_DIR)\lib\$(O)\stock4.lib \
  40. #
  41. # we need kernl32p.lib and dload.lib (in this order!!) since shlwapi exports
  42. # DelayLoadFailureHook, which is a forwarder to dload.lib!Downlevel_DelayLoadFailureHook,
  43. # and that function refrences "DelayLoadFailureHook" which we want picked up
  44. # from kernl32p.lib (and not dload.lib). Confused? So am I.
  45. #
  46. $(SDK_LIB_PATH)\kernl32p.lib \
  47. $(BASE_LIB_PATH)\dload.lib \
  48. #
  49. # Since we use linker-forwarding, we need the modules as LINKLIBS.
  50. #
  51. $(SDK_LIB_PATH)\gdi32.lib \
  52. $(SDK_LIB_PATH)\user32.lib \
  53. $(SDK_LIB_PATH)\advapi32.lib \
  54. $(SDK_LIB_PATH)\version.lib \
  55. $(SHELL_LIB_PATH)\ieguidp.lib \
  56. $(SDK_LIB_PATH)\winmm.lib \
  57. $(SDK_LIB_PATH)\comdlg32.lib \
  58. $(NET_LIB_PATH)\mprp.lib \
  59. $(SHELL_LIB_PATH)\shell32p.lib
  60. DELAYLOAD = ole32.dll;oleaut32.dll;mlang.dll;comctl32.dll;shell32.dll;\
  61. winmm.dll;mpr.dll;version.dll;msi.dll;comdlg32.dll;\
  62. userenv.dll;setupapi.dll;apphelp.dll
  63. DLOAD_ERROR_HANDLER = kernel32.dll
  64. DLLDEF = $(O)\shlwapi.def
  65. DLLENTRY = DllMain
  66. PRIVDEF = $(O)\shlwapip.def
  67. PRIVDEFSRC = ..\shlwapi.src
  68. PRIVLIB = shlwapip.lib
  69. # Sort files alphabetically
  70. SOURCES = \
  71. ..\shlwapi.rc \
  72. ..\color.c \
  73. ..\debug.c \
  74. ..\dll.c \
  75. ..\fda.c \
  76. ..\menu.c \
  77. ..\ole2dup.c \
  78. ..\palette.c \
  79. ..\reg.c \
  80. ..\shared.c \
  81. ..\shellacl.c \
  82. ..\shperf.c \
  83. ..\strings.c \
  84. ..\strtype.c \
  85. ..\uastrfnc.c \
  86. ..\uniansi.c \
  87. ..\wsprintf.c \
  88. ..\mirror.c
  89. PRECOMPILED_INCLUDE = ..\priv.h