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.

95 lines
2.6 KiB

  1. !include ..\sources.inc
  2. MINORCOMP=apidll
  3. TARGETNAME=setupapi
  4. USE_MSVCRT=1
  5. C_DEFINES=$(C_DEFINES) -DUNICODE -D_UNICODE -D_SETUPAPI_ -DFUSIONAWARE -D_CFGMGR32_ -DCHILDREGISTRATION -DIDR_MANIFEST=$(SXS_MANIFEST_RESOURCE_ID)
  6. # To enable asserts, add: -DASSERTS_ON=1
  7. # To enable memory debugging, use : -DMEM_DBG=1
  8. # To enable heap validation, use : -DDBGHEAP_CHECK
  9. NTTARGETFILE0=$(NTTARGETFILE0) $(O)\setupapi.def $(O)\spapip.def
  10. NTTARGETFILES=$(O)\spapip.lib
  11. # lz32.lib must be before kernl32p.lib
  12. TARGETLIBS=\
  13. $(SDK_LIB_PATH)\lz32.lib \
  14. $(SDK_LIB_PATH)\advapi32.lib \
  15. $(SDK_LIB_PATH)\advapip.lib \
  16. $(SDK_LIB_PATH)\cabinet.lib \
  17. $(SDK_LIB_PATH)\crypt32.lib \
  18. $(SDK_LIB_PATH)\gdi32.lib \
  19. $(SDK_LIB_PATH)\imagehlp.lib \
  20. $(SDK_LIB_PATH)\kernl32p.lib \
  21. $(SDK_LIB_PATH)\mpr.lib \
  22. $(SDK_LIB_PATH)\ole32.lib \
  23. $(SDK_LIB_PATH)\rpcrt4.lib \
  24. $(SDK_LIB_PATH)\rpcutil.lib \
  25. $(SDK_LIB_PATH)\scecli.lib \
  26. $(SHELL_LIB_PATH)\shell32p.lib \
  27. $(SHELL_LIB_PATH)\shfusion.lib \
  28. $(SDK_LIB_PATH)\shlwapi.lib \
  29. $(SDK_LIB_PATH)\user32.lib \
  30. $(SDK_LIB_PATH)\version.lib \
  31. $(SDK_LIB_PATH)\winspool.lib \
  32. $(SDK_LIB_PATH)\wintrust.lib \
  33. $(SDK_LIB_PATH)\userenv.lib \
  34. $(SDK_LIB_PATH)\umpnplib.lib \
  35. $(WINDOWS_LIB_PATH)\apphelp.lib \
  36. $(SDK_LIB_PATH)\cryptui.lib \
  37. $(BASE_LIB_PATH)\setuplgu.lib \
  38. LINKLIBS=\
  39. $(PROJECT_LIB_PATH)\sputilsu.lib \
  40. $(SDK_LIB_PATH)\cfgmgr.lib
  41. DELAYLOAD=\
  42. lz32.dll; \
  43. cabinet.dll; \
  44. crypt32.dll; \
  45. imagehlp.dll; \
  46. mpr.dll; \
  47. ole32.dll; \
  48. scecli.dll; \
  49. shell32.dll; \
  50. shlwapi.dll; \
  51. userenv.dll; \
  52. version.dll; \
  53. winspool.drv; \
  54. wintrust.dll; \
  55. apphelp.dll; \
  56. cryptui.dll
  57. DLOAD_ERROR_HANDLER=kernel32
  58. #
  59. # Following dll's are LoadLibrary'd:
  60. #
  61. # comctl32.dll (fusionized)
  62. # cdm.dll (might be updated on the fly)
  63. # setupdll.dll (only use if present)
  64. # sfc.dll (app compat fix for SQL who also have sfc.dll)
  65. #
  66. #
  67. # Fusionize
  68. #
  69. SXS_ASSEMBLY_NAME=Microsoft.Windows.SetupAPI
  70. SXS_ASSEMBLY_VERSION=1.0
  71. SXS_ASSEMBLY_LANGUAGE_INDEPENDENT=1
  72. SXS_MANIFEST=SetupAPI.Manifest
  73. SXS_MANIFEST_IN_RESOURCES=1
  74. SXS_MANIFEST_RESOURCE_ID=123
  75. SXS_NO_BINPLACE=1
  76. LINKER_FLAGS = $(LINKER_FLAGS) -ignore:4049,4217
  77. PASS1_PUBLISH= \
  78. {$(O)\$(TARGETNAME).lib=$(SDK_LIB_PATH)\$(TARGETNAME).lib} \
  79. {$(O)\spapip.lib=$(PROJECT_LIB_PATH)\spapip.lib}