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.

98 lines
3.6 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. TARGETLIBS = $(SDK_LIB_PATH)\kernel32.lib \
  34. $(SHELL_LIB_PATH)\shlwapip.lib \
  35. $(SHELL_LIB_PATH)\shdocvwp.lib \
  36. $(SDK_LIB_PATH)\gdi32.lib \
  37. $(SDK_LIB_PATH)\user32.lib \
  38. $(SDK_LIB_PATH)\advapi32.lib \
  39. $(SDK_LIB_PATH)\uuid.lib \
  40. $(SDK_LIB_PATH)\ole32.lib \
  41. $(SDK_LIB_PATH)\oleaut32.lib \
  42. $(SDK_LIB_PATH)\htmlhelp.lib \
  43. $(CCSHELL_DIR)\lib\$(O)\ieguidp.lib \
  44. $(CCSHELL_DIR)\lib\$(O)\shguid.lib \
  45. $(CCSHELL_DIR)\lib\$(O)\shfusion4.lib \
  46. $(SDK_LIB_PATH)\mpr.lib \
  47. $(SDK_LIB_PATH)\shell32.lib \
  48. $(SDK_LIB_PATH)\wininet.lib \
  49. $(SDK_LIB_PATH)\uxtheme.lib \
  50. $(INETCORE_LIB_PATH)\urlmonp.lib \
  51. $(SDK_LIB_PATH)\msimg32.lib \
  52. $(SDK_LIB_PATH)\imm32.lib \
  53. $(SDK_LIB_PATH)\winmm.lib
  54. DLLENTRY = _DllMainCRTStartup
  55. # Dynamically loading comctl32 through shfusion. Need to ignore "locally defined symbol imported" error
  56. LINKER_FLAGS = $(LINKER_FLAGS) -ignore:4049,4217
  57. LINKLIBS = ..\srcc\$(O)\srcc.lib \
  58. ..\srccpp\$(O)\srccpp.lib \
  59. ..\nt5api\$(O)\apithk.lib \
  60. ..\emclient\$(O)\emclient.lib \
  61. ..\legacy\$O\legacy.lib \
  62. $(CCSHELL_DIR)\lib\$(O)\stock4.lib
  63. # we want to force dlcheck.exe to run on browseui even though we don't use kernel32
  64. # as our delayload handler
  65. DLOAD_FORCE_ERROR_CHECK = 1
  66. PRIVDEF = $(O)\browseuip.def
  67. PRIVDEFSRC = ..\browseui.src
  68. PRIVLIB = browseuip.lib
  69. # Maintain the sources list in the alphabetical order
  70. SOURCES = ..\browseui.rc
  71. # Generate the selfreg file before compiling the RC file
  72. NTTARGETFILE0 = $(SELFREGNAME)
  73. NTTARGETFILES= $(CCSHELL_DIR)\lib\$(O)\browseui.lib \
  74. $(CCSHELL_DIR)\lib\$(O)\browseuip.lib
  75. #
  76. # Fusionized
  77. #
  78. SXS_ASSEMBLY_NAME=Microsoft.Windows.BrowseUI
  79. SXS_MANIFEST_RESOURCE_ID=123
  80. SXS_APPLICATION_MANIFEST=WindowsShell.Manifest