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.

196 lines
6.6 KiB

  1. CCSHELL_DIR = $(PROJECT_ROOT)
  2. PRECOMPILED_CXX = 1
  3. # Build a shdocvwp.lib
  4. BUILD_PRIVLIB = 1
  5. SELFREGNAME = $(O)\selfreg_shdocvw.inf
  6. MISCFILES = $(MISCFILES) $(SELFREGNAME)
  7. TARGET_BOTH = 1
  8. !include $(CCSHELL_DIR)\shdocvw\shdocvw.inc
  9. SOURCES_USED = $(SOURCES_USED) $(CCSHELL_DIR)\shdocvw\shdocvw.inc
  10. NO_BROWSER_FILE = 1
  11. SYNCHRONIZE_DRAIN=1
  12. INCLUDES = $(INCLUDES);$(SDK_LIB_PATH);$(INETCORE_INC_PATH);$(O)
  13. TARGETNAME = shdocvw
  14. TARGETPATH = obj
  15. TARGETTYPE = DYNLINK
  16. #VERIFY_LC = 1
  17. LC_PATH = $(PROJECT_ROOT)\lcinf
  18. PASS1_PUBLISH = {$(O)\shdocvw.lib=$(SHELL_LIB_PATH)\shdocvw.lib}
  19. # for DOJ compliance, don't link to private shell libs (e.g. shell32p.lib, comctlp.lib)
  20. TARGETLIBS = $(SDK_LIB_PATH)\kernel32.lib \
  21. $(SHELL_LIB_PATH)\shlwapip.lib \
  22. $(SDK_LIB_PATH)\gdi32.lib \
  23. $(SDK_LIB_PATH)\user32.lib \
  24. $(SDK_LIB_PATH)\advapi32.lib \
  25. $(SDK_LIB_PATH)\uuid.lib \
  26. $(SDK_LIB_PATH)\ole32.lib \
  27. $(SDK_LIB_PATH)\htmlhelp.lib \
  28. $(PROJECT_ROOT)\lib\$O\ieguidp.lib \
  29. $(PROJECT_ROOT)\lib\$O\shguid.lib \
  30. $(SHELL_LIB_PATH)\shuuid.lib \
  31. $(CCSHELL_DIR)\lib\$(O)\shfusion4.lib \
  32. !if $(386)
  33. $(CCSHELL_DIR)\lib\$(O)\downlevel_shell32.lib \
  34. !endif
  35. $(SDK_LIB_PATH)\shell32.lib \
  36. $(PROJECT_ROOT)\lib\$(O)\browseuip.lib \
  37. $(SDK_LIB_PATH)\oleaut32.lib \
  38. $(SDK_LIB_PATH)\wininet.lib \
  39. $(INETCORE_LIB_PATH)\urlmonp.lib \
  40. $(SDK_LIB_PATH)\msrating.lib \
  41. $(INETCORE_LIB_PATH)\mshtmlp.lib \
  42. $(PROJECT_ROOT)\ext\mlang\dll\$(O)\mlang.lib \
  43. $(SDK_LIB_PATH)\ntdll.lib \
  44. $(INETCORE_LIB_PATH)\inetcomm.lib \
  45. $(SDK_LIB_PATH)\advpack.lib
  46. # Version.lib is used on non-x86 since we don't go through the shlwapi wrappers
  47. !if !$(386)
  48. TARGETLIBS = $(TARGETLIBS) \
  49. $(SDK_LIB_PATH)\version.lib
  50. !endif
  51. DLLENTRY = _DllMainCRTStartup
  52. # Dynamically loading comctl32 through shfusion. Need to ignore "locally defined symbol imported" error
  53. LINKER_FLAGS = $(LINKER_FLAGS) -ignore:4049,4217
  54. LINKLIBS = ..\srcc\$O\srcc.lib \
  55. ..\util\$O\util.lib \
  56. ..\hist\$O\hist.lib \
  57. ..\nt5api\$O\apithk.lib \
  58. ..\cdfview\$O\cdfview.lib \
  59. $(CCSHELL_DIR)\lib\$(O)\stock4.lib
  60. DLOAD_ERROR_HANDLER = shlwapi
  61. # we want to force dlcheck.exe to run on shdocvw even though we don't use kernel32
  62. # as our delayload handler
  63. DLOAD_FORCE_ERROR_CHECK = 1
  64. DLLDEF = $(O)\shdocvw.def
  65. DLLBASE = 0x71700000
  66. PRIVDEF = $(O)\shdocvwp.def
  67. PRIVDEFSRC = ..\shdocvw.src
  68. PRIVLIB = shdocvwp.lib
  69. SOURCES = \
  70. ..\shdocvw.rc \
  71. ..\sccls.cpp \
  72. ..\about.cpp \
  73. ..\airesize.cpp \
  74. ..\atl.cpp \
  75. ..\bands.cpp \
  76. ..\basesb.cpp \
  77. ..\bcwx.cpp \
  78. ..\bindcb.cpp \
  79. ..\browsext.cpp \
  80. ..\cachecln.cpp \
  81. ..\cacheoff.cpp \
  82. ..\chanoc.cpp \
  83. ..\clslock.cpp \
  84. ..\cwndproc.cpp \
  85. ..\debdump.cpp \
  86. ..\dhuihand.cpp \
  87. ..\dllreg.cpp \
  88. ..\dochost.cpp \
  89. ..\dochostbsc.cpp \
  90. ..\download.cpp \
  91. ..\dpastuff.cpp \
  92. ..\droptgt.cpp \
  93. ..\explband.cpp \
  94. ..\favband.cpp \
  95. ..\favorite.cpp \
  96. ..\fldset.cpp \
  97. ..\histband.cpp \
  98. ..\history.cpp \
  99. ..\hlframe.cpp \
  100. ..\htregmng.cpp \
  101. ..\iedde.cpp \
  102. ..\iedisp.cpp \
  103. ..\iforms.cpp \
  104. ..\impexp.cpp \
  105. ..\inetnot.cpp \
  106. ..\infotip.cpp \
  107. ..\inst.cpp \
  108. ..\ipstg.cpp \
  109. ..\isbase.cpp \
  110. ..\isdtobj.cpp \
  111. ..\isexicon.cpp \
  112. ..\isnewshk.cpp \
  113. ..\ispersis.cpp \
  114. ..\isprsht.cpp \
  115. ..\isshlink.cpp \
  116. ..\isurl.cpp \
  117. ..\iscmdt.cpp \
  118. ..\libx.cpp \
  119. ..\mainloop.cpp \
  120. ..\mime64.cpp \
  121. ..\mruex.cpp \
  122. ..\multimon.cpp \
  123. ..\mypics.cpp \
  124. ..\nsc.cpp \
  125. ..\nscband.cpp \
  126. ..\nsctask.cpp \
  127. ..\occtrl.cpp \
  128. ..\opsprof.cpp \
  129. ..\packager.cpp \
  130. ..\ratings.cpp \
  131. ..\reload.cpp \
  132. ..\sftupmb.cpp \
  133. ..\shdocfl.cpp \
  134. ..\shdocvw.cpp \
  135. ..\shell32.cpp \
  136. ..\shembed.cpp \
  137. ..\shocx.cpp \
  138. ..\shvocx.cpp \
  139. ..\shuioc.cpp \
  140. ..\splash.cpp \
  141. ..\srchasst.cpp \
  142. ..\stdafx.cpp \
  143. ..\strmwrap.cpp \
  144. ..\swindows.cpp \
  145. ..\tasklist.cpp \
  146. ..\tbext.cpp \
  147. ..\tframe.cpp \
  148. ..\thicket.cpp \
  149. ..\tlog.cpp \
  150. ..\url.cpp \
  151. ..\urlassoc.cpp \
  152. ..\urlhist.cpp \
  153. ..\urlhook.cpp \
  154. ..\urlprop.cpp \
  155. ..\urltrack.cpp \
  156. ..\util.cpp \
  157. ..\winlist.cpp \
  158. ..\wvt.cpp \
  159. ..\impexpwz.cpp \
  160. ..\privacyui.cpp \
  161. ..\privacyimport.cpp \
  162. ..\smallutil.cpp
  163. PRECOMPILED_INCLUDE = ..\priv.h
  164. # Include makefile.inc, and build these files before what is in SOURCES
  165. NTTARGETFILE0= $(SELFREGNAME)
  166. # copy shdocvwp.lib to shell\lib\obj\*
  167. NTTARGETFILE1= $(PROJECT_ROOT)\lib\$(O)\$(PRIVLIB)
  168. #
  169. # Fusionized
  170. #
  171. SXS_MANIFEST_RESOURCE_ID=123
  172. SXS_APPLICATION_MANIFEST=WindowsShell.Manifest