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.

94 lines
2.5 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)\rpcndr.lib \
  24. $(SDK_LIB_PATH)\rpcrt4.lib \
  25. $(SDK_LIB_PATH)\rpcutil.lib \
  26. $(SDK_LIB_PATH)\scecli.lib \
  27. $(SHELL_LIB_PATH)\shell32p.lib \
  28. $(SHELL_LIB_PATH)\shfusion.lib \
  29. $(SDK_LIB_PATH)\shlwapi.lib \
  30. $(SDK_LIB_PATH)\user32.lib \
  31. $(SDK_LIB_PATH)\version.lib \
  32. $(SDK_LIB_PATH)\winspool.lib \
  33. $(SDK_LIB_PATH)\wintrust.lib \
  34. $(SDK_LIB_PATH)\userenv.lib \
  35. $(SDK_LIB_PATH)\umpnplib.lib \
  36. $(WINDOWS_LIB_PATH)\apphelp.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. DLOAD_ERROR_HANDLER=kernel32
  57. #
  58. # Following dll's are LoadLibrary'd:
  59. #
  60. # comctl32.dll (fusionized)
  61. # cdm.dll (might be updated on the fly)
  62. # setupdll.dll (only use if present)
  63. # sfc.dll (app compat fix for SQL who also have sfc.dll)
  64. #
  65. #
  66. # Fusionize
  67. #
  68. SXS_ASSEMBLY_NAME=Microsoft.Windows.SetupAPI
  69. SXS_ASSEMBLY_VERSION=1.0
  70. SXS_ASSEMBLY_LANGUAGE_INDEPENDENT=1
  71. SXS_MANIFEST=SetupAPI.Manifest
  72. SXS_MANIFEST_IN_RESOURCES=1
  73. SXS_MANIFEST_RESOURCE_ID=123
  74. SXS_NO_BINPLACE=1
  75. LINKER_FLAGS = $(LINKER_FLAGS) -ignore:4049,4217
  76. PASS1_PUBLISH= \
  77. {$(O)\$(TARGETNAME).lib=$(SDK_LIB_PATH)\$(TARGETNAME).lib} \
  78. {$(O)\spapip.lib=$(PROJECT_LIB_PATH)\spapip.lib}