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.

298 lines
11 KiB

  1. !IF 0
  2. Copyright (c) Microsoft Corporation. All rights reserved.
  3. Module Name:
  4. sources.
  5. Abstract:
  6. This file specifies the target component being built and the list of
  7. sources files needed to build that component. Also specifies optional
  8. compiler switches and libraries that are unique for the component being
  9. built.
  10. History: 6-05-96 scousens (Scott Cousens) Created
  11. 2-25-98 scotth cleaned up and commented the heck out of it
  12. 1-21-00 reinerf moved to source depot
  13. !ENDIF
  14. TARGETPATH=obj
  15. TARGETTYPE=LIBRARY
  16. TARGETNAME=shlproxy
  17. PASS1_PUBLISH={$(O)\shlproxy.lib=$(PROJECT_LIB_PATH)\shlproxy.lib}
  18. PASS0_PUBLISH=\
  19. $(IDL_PUBLISH_TARGETS) \
  20. $(HEADER_PUBLISH_TARGETS)
  21. NO_BROWSER_FILE=1
  22. # These are used in makefile.def when building the idl files.
  23. PASS0_HEADERDIR=$(O)
  24. PASS0_SOURCEDIR=$(O)
  25. MIDL_UUIDDIR=$(O)
  26. MIDL_TLBDIR=$(O)
  27. MIDL_PROTOCOL=all
  28. C_DEFINES = -DWIN32=300 -D_CAIRO_=300 -DREGISTER_PROXY_DLL
  29. INCLUDES=.;$(INCLUDES);$(SDK_LIB_PATH)
  30. # HOW TO ADD A FILE:
  31. #
  32. # You should simply add your files to the lists below according
  33. # to these instructions. In most cases, you should not need to
  34. # add anything to makefile.inc. The inference rules there cover
  35. # almost everything but the hole in the ozone layer.
  36. #
  37. # IDL FILES
  38. #
  39. # To add foo.idl to the build (as an example):
  40. #
  41. # 1) add foo.idl to the IDL_SOURCES list. This will create foo.tlb and obj\*\foo.h.
  42. #
  43. # 2) ONLY IF NECESSARY should you publish foo.idl, $O\foo.tlb, or $O\foo.h to other directories so external
  44. # projects can use them. If only things in the shell project are using the interfaces then
  45. # you should publish the files in a private location (eg: $(PROJECT_INC_PATH) for .h's and .idl's or
  46. # $(PROJECT_ROOT)\lib\$(O) for .tlb's). Simply add the correct publish rule to IDL_PUBLISH_TARGETS to accomplish this.
  47. #
  48. # 3) Optional: to add your object library to ActxPrxy.dll, add an entries for the $(O)\foo_p.c file
  49. # to the PROXY_SOURCES list below and update $(BASEDIR)\MergedComponents\ActxPrxy\dlldatax.c as appropriate.
  50. #
  51. # 4) Optional: to add your GUIDs to shuuid.lib (and thus sdk\lib\uuid.lib), add an entry to
  52. # ..\uuid\makefile.inc and ..\uuid\sources
  53. #
  54. # (Notice this is in alphabetical order. Hint. Hint.)
  55. IDL_SOURCES= \
  56. brdispp.idl \
  57. chanmgr.idl \
  58. CommonControls.idl\
  59. emptyvc.idl \
  60. hliface.idl \
  61. iepriv.idl \
  62. imapi.idl \
  63. mlang.idl \
  64. msident.idl \
  65. msieftp.idl \
  66. opsprof.idl \
  67. shappmgr.idl \
  68. shgina.idl \
  69. shimgdata.idl \
  70. shimgvw.idl \
  71. shldisp.idl \
  72. shobjidl.idl \
  73. shpriv.idl \
  74. shtypes.idl \
  75. tlog.idl \
  76. tlogstg.idl \
  77. theme.idl \
  78. vrsscan.idl \
  79. webvw.idl
  80. # files generated from .idl's that are published
  81. #
  82. # NOTE: PUBLIC only files go here, if it is under $(PROJECT_ROOT) then
  83. # it belongs in the PRIVATE_TARGETS list
  84. IDL_PUBLISH_TARGETS= \
  85. {chanmgr.idl=$(SDK_INC_PATH)\chanmgr.idl} \
  86. {CommonControls.idl=$(SDK_INC_PATH)\CommonControls.idl} \
  87. {$O\CommonControls.h=$(SDK_INC_PATH)\CommonControls.h} \
  88. {$O\chanmgr.h=$(SDK_INC_PATH)\chanmgr.h} \
  89. {emptyvc.idl=$(SDK_INC_PATH)\emptyvc.idl} \
  90. {$O\emptyvc.h=$(SDK_INC_PATH)\emptyvc.h} \
  91. {hliface.idl=$(SDK_INC_PATH)\hliface.idl} \
  92. {$O\hliface.h=$(SDK_INC_PATH)\hliface.h} \
  93. {iepriv.idl=$(PROJECT_INC_PATH)\iepriv.idl} \
  94. {$O\iepriv.h=$(PROJECT_INC_PATH)\iepriv.h} \
  95. {$O\imapi.h=$(SDK_INC_PATH)\imapi.h} \
  96. {mlang.idl=$(SDK_INC_PATH)\mlang.idl} \
  97. {$O\mlang.h=$(SDK_INC_PATH)\mlang.h} \
  98. {$O\msident.h=$(SHELL_INC_PATH)\msident.h} \
  99. {shappmgr.idl=$(SDK_INC_PATH)\shappmgr.idl} \
  100. {$O\shappmgr.h=$(SDK_INC_PATH)\shappmgr.h} \
  101. {$O\shgina.h=$(PROJECT_INC_PATH)\shgina.h} \
  102. {shimgdata.idl=$(PROJECT_INC_PATH)\shimgdata.idl} \
  103. {$O\shimgdata.h=$(PROJECT_INC_PATH)\shimgdata.h} \
  104. {shldisp.idl=$(SDK_INC_PATH)\shldisp.idl} \
  105. {$O\shldisp.h=$(SDK_INC_PATH)\shldisp.h} \
  106. {$O\shobjidl_pub.idl=$(SDK_INC_PATH)\shobjidl.idl} \
  107. {$O\shobjidl_pub.h=$(SDK_INC_PATH)\shobjidl.h} \
  108. {shpriv.idl=$(PROJECT_INC_PATH)\shpriv.idl} \
  109. {$O\shpriv.h=$(PROJECT_INC_PATH)\shpriv.h} \
  110. {shtypes.idl=$(SDK_INC_PATH)\shtypes.idl} \
  111. {$O\shtypes.h=$(SDK_INC_PATH)\shtypes.h} \
  112. {tlog.idl=$(PROJECT_INC_PATH)\tlog.idl} \
  113. {$O\tlog.h=$(PROJECT_INC_PATH)\tlog.h} \
  114. {tlogstg.idl=$(SDK_INC_PATH)\tlogstg.idl} \
  115. {$O\tlogstg.h=$(SDK_INC_PATH)\tlogstg.h} \
  116. {$O\vrsscan.h=$(PROJECT_INC_PATH)\vrsscan.h}
  117. # proxy stubs that are part of ActxPrxy.dll
  118. PROXY_SOURCES= \
  119. $(O)\iepriv_p.c \
  120. $(O)\shpriv_p.c \
  121. $(O)\shldisp_p.c \
  122. $(O)\shobjidl_p.c \
  123. $(O)\imapi_p.c \
  124. wire_mar.c
  125. #
  126. # This list is used to publish all the non-idl generated PUBLIC header files.
  127. #
  128. # NOTE: If you want to add a header to this list and it is a generated
  129. # file, then you may have to add the file to the NTTARGETFILE0 list
  130. # as well as rules for its generation in makefile.inc.
  131. #
  132. HEADER_PUBLISH_TARGETS= \
  133. {aclui.h=$(SDK_INC_PATH)\aclui.h} \
  134. {badapps.h=$(PROJECT_INC_PATH)\badapps.h} \
  135. {$O\cmnquery.h=$(SDK_INC_PATH)\cmnquery.h} \
  136. {$O\cmnqueryp.h=$(PROJECT_INC_PATH)\cmnquryp.h} \
  137. {cleanoc.h=$(SHELL_INC_PATH)\cleanoc.h} \
  138. {color.dlg=$(SDK_INC_PATH)\color.dlg} \
  139. {$O\commctrl.h=$(SDK_INC_PATH)\commctrl.h} \
  140. {$O\commctrl.rh=$(SDK_INC_PATH)\commctrl.rh} \
  141. {$O\commctrlp.h=$(PROJECT_INC_PATH)\comctrlp.h} \
  142. {$O\commdlg.h=$(SDK_INC_PATH)\commdlg.h} \
  143. {$O\commdlgp.h=$(PROJECT_INC_PATH)\commdlgp.h} \
  144. {cplext.h=$(SDK_INC_PATH)\cplext.h} \
  145. {$O\cpl.h=$(SDK_INC_PATH)\cpl.h} \
  146. {$O\cplp.h=$(PROJECT_INC_PATH)\cplp.h} \
  147. {dlgs.h=$(SDK_INC_PATH)\dlgs.h} \
  148. {$O\dsclient.h=$(SDK_INC_PATH)\dsclient.h} \
  149. {$O\dsclientp.h=$(PROJECT_INC_PATH)\dsclintp.h} \
  150. {$O\dsquery.h=$(SDK_INC_PATH)\dsquery.h} \
  151. {$O\dsqueryp.h=$(PROJECT_INC_PATH)\dsqueryp.h} \
  152. {dssec.w=$(PROJECT_INC_PATH)\dssec.h} \
  153. {fileopen.dlg=$(SDK_INC_PATH)\fileopen.dlg} \
  154. {findtext.dlg=$(SDK_INC_PATH)\findtext.dlg} \
  155. {font.dlg=$(SDK_INC_PATH)\font.dlg} \
  156. {ginabmps.rc=$(PROJECT_INC_PATH)\ginabmps.rc} \
  157. {ginadlgs.rc=$(PROJECT_INC_PATH)\ginadlgs.rc} \
  158. {ginarcid.h=$(PROJECT_INC_PATH)\ginarcid.h} \
  159. {ginastrs.rc=$(PROJECT_INC_PATH)\ginastrs.rc} \
  160. {help.h=$(PROJECT_INC_PATH)\help.h} \
  161. {ieguidp.h=$(PROJECT_INC_PATH)\ieguidp.h} \
  162. {inetcpl.h=$(SHELL_INC_PATH)\inetcpl.h} \
  163. {$O\intshcut.h=$(SDK_INC_PATH)\intshcut.h} \
  164. {isguids.h=$(SDK_INC_PATH)\isguids.h} \
  165. {lpcfus.h=$(PROJECT_INC_PATH)\lpcfus.h} \
  166. {lpcgeneric.h=$(PROJECT_INC_PATH)\lpcgeneric.h} \
  167. {lpcthemes.h=$(PROJECT_INC_PATH)\lpcthemes.h} \
  168. {msluapi.h=$(SHELL_INC_PATH)\msluapi.h} \
  169. {msluguid.h=$(SHELL_INC_PATH)\msluguid.h} \
  170. {msprintx.h=$(PROJECT_INC_PATH)\msprintx.h} \
  171. {msshrui.h=$(PROJECT_INC_PATH)\msshrui.h} \
  172. {$O\multimon.h=$(SDK_INC_PATH)\multimon.h} \
  173. {$O\multimonp.h=$(PROJECT_INC_PATH)\multimop.h} \
  174. {pif.h=$(PROJECT_INC_PATH)\pif.h} \
  175. {$O\powrprof.h=$(SDK_INC_PATH)\powrprof.h} \
  176. {$O\powrprofp.h=$(PROJECT_INC_PATH)\powrprofp.h} \
  177. {prnsetup.dlg=$(SDK_INC_PATH)\prnsetup.dlg} \
  178. {$O\prsht.h=$(SDK_INC_PATH)\prsht.h} \
  179. {$O\prshtp.h=$(PROJECT_INC_PATH)\prshtp.h} \
  180. {ratings.h=$(SDK_INC_PATH)\ratings.h} \
  181. {schemadef.h=$(SDK_INC_PATH)\schemadef.h} \
  182. {shdispid.h=$(SDK_INC_PATH)\shdispid.h} \
  183. {$O\shellapi.h=$(SDK_INC_PATH)\shellapi.h} \
  184. {$O\shellapip.h=$(PROJECT_INC_PATH)\shlapip.h} \
  185. {shellids.h=$(PROJECT_INC_PATH)\shellids.h} \
  186. {shfolder.h=$(SDK_INC_PATH)\shfolder.h} \
  187. {shfusion.h=$(PROJECT_INC_PATH)\shfusion.h} \
  188. {$O\shlguid.h=$(SDK_INC_PATH)\shlguid.h} \
  189. {$O\shlguidp.h=$(PROJECT_INC_PATH)\shlguidp.h} \
  190. {$O\shlobj.h=$(SDK_INC_PATH)\shlobj.h} \
  191. {$O\shlobjp.h=$(PROJECT_INC_PATH)\shlobjp.h} \
  192. {$O\shlwapi.h=$(SDK_INC_PATH)\shlwapi.h} \
  193. {$O\shlwapip.h=$(PROJECT_INC_PATH)\shlwapip.h} \
  194. {systrayp.h=$(PROJECT_INC_PATH)\systrayp.h} \
  195. {tmschema.h=$(SDK_INC_PATH)\tmschema.h} \
  196. {uxtheme.h=$(SDK_INC_PATH)\uxtheme.h} \
  197. {uxthemep.h=$(PROJECT_INC_PATH)\uxthemep.h} \
  198. {uastrfnc.h=$(PROJECT_INC_PATH)\uastrfnc.h} \
  199. {webvwid.h=$(SDK_INC_PATH)\webvwid.h} \
  200. {winfoldr.w=$(PROJECT_INC_PATH)\winfoldr.h} \
  201. {$O\winver.h=$(SDK_INC_PATH)\winver.h} \
  202. {w95wraps.h=$(PROJECT_INC_PATH)\w95wraps.h} \
  203. {imapi\burnsys.w=$(PROJECT_INC_PATH)\imapi\burnsys.h} \
  204. {imapi\burnV.w=$(PROJECT_INC_PATH)\imapi\burnV.h} \
  205. {imapi\imagefile.w=$(PROJECT_INC_PATH)\imapi\imagefile.h} \
  206. {imapi\imapipub.w=$(PROJECT_INC_PATH)\imapi\imapipub.h} \
  207. {imapi\imapiRegistry.w=$(PROJECT_INC_PATH)\imapi\imapiRegistry.h} \
  208. {imapi\imapierror.w=$(SDK_INC_PATH)\imapierror.h}
  209. #
  210. # This list is used to copy all the PRIVATE shell files. You cannot use publishing
  211. # for private files since published files must be under \nt\public
  212. #
  213. # NOTE: If you want to add a file to this list and it is a generated
  214. # file, then you may have to add rules for its generation in makefile.inc.
  215. #
  216. PRIVATE_TARGETS= \
  217. $(PROJECT_ROOT)\lib\$(O)\brdispp.tlb \
  218. $(PROJECT_ROOT)\inc\$(O)\brdispp.h \
  219. $(PROJECT_ROOT)\lib\$(O)\brdispp_i.c \
  220. $(PROJECT_ROOT)\inc\$(O)\intshctp.h \
  221. $(PROJECT_ROOT)\lib\$(O)\iepriv_i.c \
  222. $(PROJECT_ROOT)\lib\$(O)\msieftp.tlb \
  223. $(PROJECT_ROOT)\inc\$(O)\msieftp.h \
  224. $(PROJECT_ROOT)\lib\$(O)\msieftp_i.c \
  225. $(PROJECT_ROOT)\lib\$(O)\shgina.tlb \
  226. $(PROJECT_ROOT)\lib\$(O)\shldisp.tlb \
  227. $(PROJECT_ROOT)\inc\$(O)\shobjidlp.h \
  228. $(PROJECT_ROOT)\lib\$(O)\shpriv_i.c \
  229. $(PROJECT_ROOT)\lib\$(O)\theme.tlb \
  230. $(PROJECT_ROOT)\inc\$(O)\theme.h \
  231. $(PROJECT_ROOT)\lib\$(O)\theme_i.c \
  232. $(PROJECT_ROOT)\lib\$(O)\webvw.tlb \
  233. $(PROJECT_ROOT)\inc\$(O)\webvw.h \
  234. $(PROJECT_ROOT)\lib\$(O)\webvw_i.c \
  235. $(PROJECT_ROOT)\lib\$(O)\shimgvw.tlb \
  236. $(PROJECT_ROOT)\inc\$(O)\shimgvw.h \
  237. $(PROJECT_ROOT)\lib\$(O)\shimgvw_i.c \
  238. $(PROJECT_ROOT)\inc\$(O)\opsprof.h
  239. SOURCES= \
  240. $(IDL_SOURCES) \
  241. $(PROXY_SOURCES)
  242. # Note: PRIVATE_TARGETS goes at the end because we want to build
  243. # shellapi.h *before* building the private targets (since some
  244. # private targets depend on shellapi.h)
  245. #
  246. # Note: shobjidl_priv.h comes after shobjidl_pub.h because it is
  247. # shobjidl_pub.h that triggers the creation of shobjidl_priv.h.
  248. # (We don't have a separate rule for shobjidl_priv.h because that
  249. # causes the rule to fire twice.)
  250. #
  251. NTTARGETFILE0=\
  252. $O\shobjidl_pub.h \
  253. $O\shobjidl_priv.h \
  254. $O\cmnquery.h \
  255. $O\commctrl.h \
  256. $O\commctrl.rh \
  257. $O\commdlg.h \
  258. $O\cpl.h \
  259. $O\dsclient.h \
  260. $O\dsquery.h \
  261. $O\dsqueryp.h \
  262. $O\intshcut.h \
  263. $O\intshcutp.h \
  264. $O\multimon.h \
  265. $O\powrprof.h \
  266. $O\prsht.h \
  267. $O\shellapi.h \
  268. $O\shlguid.h \
  269. $O\shlobj.h \
  270. $O\shlwapi.h \
  271. $O\winver.h \
  272. $(PRIVATE_TARGETS)