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.

103 lines
3.7 KiB

  1. CCSHELL_DIR = $(PROJECT_ROOT)
  2. # Build a browseuip.lib
  3. BUILD_PRIVLIB = 1
  4. SELFREGNAME = $(O)\selfreg_browseui.inf
  5. MISCFILES = $(MISCFILES) $(SELFREGNAME)
  6. NO_BROWSER_FILE = 1
  7. SYNCHRONIZE_DRAIN=1
  8. TARGET_BOTH = 1
  9. !include $(CCSHELL_DIR)\browseui\browseui.inc
  10. SOURCES_USED = $(SOURCES_USED) $(CCSHELL_DIR)\browseui\browseui.inc
  11. # For RC to find exdisp.TLB and brdispp.tlb
  12. INCLUDES = $(INCLUDES);$(SDK_LIB_PATH);$(O);$(CCSHELL_DIR)\lib\$(O)
  13. TARGETNAME = browseui
  14. TARGETPATH = obj
  15. TARGETTYPE = DYNLINK
  16. #VERIFY_LC = 1
  17. LC_PATH = $(PROJECT_ROOT)\lcinf
  18. DLLDEF = $(O)\browseui.def
  19. DLLBASE = 0x71500000
  20. # NOTE!! We deliberately link to an NT4 compatible shell32.lib
  21. # so browseui can be loaded in the browser-only installations.
  22. # We use the NT version because it contains lego info.
  23. # The debug version of browseui links to the Win95 version
  24. # of shell32.lib simply so we can verify that we load in the
  25. # browser-only installations on Win95.
  26. #
  27. # Note: Do *not* link to ntdll. Win95 has an extremely minimal
  28. # implementation of ntdll.
  29. #
  30. # Note: Do not link to uxtheme here. It needs to be in apithk.c. This file needs
  31. # to run downlevel where themes don't exist
  32. #
  33. # For DOJ compliance, don't link to private shell libs (e.g. shell32p.lib, comctlp.lib, uxthemep.lib)
  34. #
  35. TARGETLIBS = $(SDK_LIB_PATH)\kernel32.lib \
  36. $(SHELL_LIB_PATH)\shlwapip.lib \
  37. $(PROJECT_ROOT)\lib\$(O)\shdocvwp.lib \
  38. $(SDK_LIB_PATH)\gdi32.lib \
  39. $(SDK_LIB_PATH)\user32.lib \
  40. $(SDK_LIB_PATH)\advapi32.lib \
  41. $(SDK_LIB_PATH)\uuid.lib \
  42. $(SDK_LIB_PATH)\ole32.lib \
  43. $(SDK_LIB_PATH)\oleaut32.lib \
  44. $(SDK_LIB_PATH)\htmlhelp.lib \
  45. $(CCSHELL_DIR)\lib\$(O)\ieguidp.lib \
  46. $(CCSHELL_DIR)\lib\$(O)\shguid.lib \
  47. $(CCSHELL_DIR)\lib\$(O)\shfusion4.lib \
  48. $(SDK_LIB_PATH)\mpr.lib \
  49. !if $(386)
  50. $(CCSHELL_DIR)\lib\$(O)\downlevel_shell32.lib \
  51. !endif
  52. $(SDK_LIB_PATH)\shell32.lib \
  53. $(SDK_LIB_PATH)\wininet.lib \
  54. $(SDK_LIB_PATH)\uxtheme.lib \
  55. $(INETCORE_LIB_PATH)\urlmonp.lib \
  56. $(PROJECT_ROOT)\lib\$(O)\shdocvwp.lib \
  57. $(SDK_LIB_PATH)\msimg32.lib \
  58. $(SDK_LIB_PATH)\imm32.lib
  59. DLLENTRY = _DllMainCRTStartup
  60. # Dynamically loading comctl32 through shfusion. Need to ignore "locally defined symbol imported" error
  61. LINKER_FLAGS = $(LINKER_FLAGS) -ignore:4049,4217
  62. LINKLIBS = ..\srcc\$(O)\srcc.lib \
  63. ..\srccpp\$(O)\srccpp.lib \
  64. ..\nt5api\$(O)\apithk.lib \
  65. ..\emclient\$(O)\emclient.lib \
  66. ..\legacy\$O\legacy.lib \
  67. $(CCSHELL_DIR)\lib\$(O)\stock4.lib
  68. # we want to force dlcheck.exe to run on browseui even though we don't use kernel32
  69. # as our delayload handler
  70. DLOAD_FORCE_ERROR_CHECK = 1
  71. PRIVDEF = $(O)\browseuip.def
  72. PRIVDEFSRC = ..\browseui.src
  73. PRIVLIB = browseuip.lib
  74. # Maintain the sources list in the alphabetical order
  75. SOURCES = ..\browseui.rc
  76. # Generate the selfreg file before compiling the RC file
  77. NTTARGETFILE0 = $(SELFREGNAME)
  78. NTTARGETFILES= $(CCSHELL_DIR)\lib\$(O)\browseui.lib \
  79. $(CCSHELL_DIR)\lib\$(O)\browseuip.lib
  80. #
  81. # Fusionized
  82. #
  83. SXS_ASSEMBLY_NAME=Microsoft.Windows.BrowseUI
  84. SXS_MANIFEST_RESOURCE_ID=123
  85. SXS_APPLICATION_MANIFEST=WindowsShell.Manifest