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.

171 lines
5.3 KiB

  1. #
  2. #
  3. # R E A D T H I S
  4. #
  5. # See the inference rules below (the section marked "Inference rules") to
  6. # see if any of them cover the rule that you want performed for your file.
  7. # The inference rules should cover most of the cases. If they don't, try
  8. # to add a new inference rule rather than adding a special-case rule for
  9. # your file.
  10. #
  11. #
  12. # Explicit dependencies for .w files -- needed to make inference rules apply
  13. #
  14. # cmnquery.w -> $(SDK_INC_PATH)\cmnquery.h
  15. # (reinerf) - why are we splitting this if we only use the public file??
  16. $(O)\cmnquery.h : cmnquery.w
  17. # commctrl.w -> $(SDK_INC_PATH)\commctrl.h, $(SDK_INC_PATH)\commctrl.rh, $(PROJECT_INC_PATH)\comctrlp.h
  18. $(O)\commctrl.h $(O)\commctrlp.h : commctrl.w
  19. # commdlg.w -> $(SDK_INC_PATH)\commdlg.h, $(PROJECT_INC_PATH)\commdlgp.h
  20. $(O)\commdlg.h $(O)\commdlgp.h : commdlg.w
  21. # cpl.w -> $(SDK_INC_PATH)\cpl.h, $(PROJECT_INC_PATH)\cplp.h
  22. $(O)\cpl.h $(O)\cplp.h : cpl.w
  23. # dsclient.w -> $(SDK_INC_PATH)\dsclient.h, $(PROJECT_INC_PATH)\dsclintp.h
  24. $(O)\dsclient.h $(O)\dsclientp.h : dsclient.w
  25. # dsquery.w -> $(SDK_INC_PATH)\dsquery.h, $(PROJECT_INC_PATH)\dsqueryp.h
  26. $(O)\dsquery.h $(O)\dsqueryp.h : dsquery.w
  27. # intshcut.w -> $(SDK_INC_PATH)\intshcut.h, $(PROJECT_INC_PATH)\intshctp.h
  28. $(O)\intshcut.h $(O)\intshcutp.h : intshcut.w
  29. # multimon.w -> $(SDK_INC_PATH)\multimon.h, $(PROJECT_INC_PATH)\multimop.h
  30. $(O)\multimon.h $(O)\multimonp.h : multimon.w
  31. # prsht.w -> $(SDK_INC_PATH)\prsht.h, $(PROJECT_INC_PATH)\prshtp.h
  32. $(O)\prsht.h $(O)\prshtp.h : prsht.w
  33. # powrprof.w -> $(SDK_INC_PATH)\powrprof.h, $(PROJECT_INC_PATH)\powrprofp.h
  34. $(O)\powrprof.h $(O)\powrprofp.h : powrprof.w
  35. # shellapi.w -> $(SDK_INC_PATH)\shellapi.h, $(PROJECT_INC_PATH)\shlapip.h
  36. $(O)\shellapi.h $(O)\shellapip.h : shellapi.w
  37. #shlguid.w -> $(SDK_INC_PATH)\shlguid.h, $(PROJECT_INC_PATH)\shlguidp.h
  38. $(O)\shlguid.h $(O)\shlguidp.h : shlguid.w
  39. # shlobj.w -> $(SDK_INC_PATH)\shlobj.h, $(PROJECT_INC_PATH)\shlobjp.h
  40. $(O)\shlobj.h $(O)\shlobjp.h : shlobj.w
  41. # shlwapi.w -> $(SDK_INC_PATH)\shlwapi.h, $(PROJECT_INC_PATH)\shlwapip.h
  42. $(O)\shlwapi.h $(O)\shlwapip.h : shlwapi.w
  43. # winver.w -> $(SDK_INC_PATH)\winver.h
  44. $(O)\winver.h : winver.w
  45. $(O)\commctrl.rh: $(O)\commctrl.h
  46. type << > $@
  47. /*++ BUILD Version: ???? Increment this if a change has global effects
  48. $(COPYRIGHT_STRING)
  49. Module Name:
  50. commctrl.rh
  51. Abstract:
  52. This module defines the 32-Bit Windows resource codes from commctrl.h.
  53. Revision History:
  54. --*/
  55. <<
  56. hextract -o $@ -lt r_commctrl -bt begin_r_commctrl end_r_commctrl $(O)\commctrl.h
  57. #
  58. # Explicit dependencies for public files that must be done on pass0
  59. #
  60. $(O)\shobjidl_pub.idl : shobjidl.idl
  61. hsplit -e -o $(O)\shobjidl_pub.idl $(O)\shobjidl_priv.idl $**
  62. $(O)\shobjidl_pub.h : $(O)\shobjidl.h
  63. hsplit -e -o $(O)\shobjidl_pub.h $(O)\shobjidl_priv.h $**
  64. #
  65. # Explicit dependencies for private files that must be done on pass0
  66. #
  67. $(PROJECT_ROOT)\lib\$(O)\brdispp.tlb : $(O)\brdispp.tlb
  68. $(O)\brdispp.tlb : brdispp.idl $(O)\brdispp.h
  69. $(PROJECT_ROOT)\inc\$(O)\brdispp.h : $(O)\brdispp.h
  70. $(PROJECT_ROOT)\lib\$O\brdispp_i.c : $(O)\brdispp_i.c
  71. $(PROJECT_ROOT)\inc\$(O)\intshctp.h : $(O)\intshcut.h
  72. copy $(O)\intshcutp.h $(PROJECT_ROOT)\inc\$(O)\intshctp.h
  73. $(PROJECT_ROOT)\inc\$(O)\navbar.h : $(O)\navbar.h
  74. $(PROJECT_ROOT)\inc\$(O)\navlog.h : $(O)\navlog.h
  75. $(PROJECT_ROOT)\inc\$(O)\shobjidlp.h : $(O)\shobjidl_pub.h
  76. copy $(O)\shobjidl_priv.h $(PROJECT_ROOT)\inc\$(O)\shobjidlp.h
  77. $(PROJECT_ROOT)\lib\$(O)\msieftp.tlb : $(O)\msieftp.tlb
  78. $(O)\msieftp.tlb : msieftp.idl $(O)\msieftp.h
  79. $(PROJECT_ROOT)\inc\$(O)\msieftp.h : $(O)\msieftp.h
  80. $(PROJECT_ROOT)\lib\$O\msieftp_i.c : $(O)\msieftp_i.c
  81. $(PROJECT_ROOT)\lib\$(O)\theme.tlb : $(O)\theme.tlb
  82. $(O)\theme.tlb : theme.idl $(O)\theme.h
  83. $(PROJECT_ROOT)\inc\$(O)\theme.h : $(O)\theme.h
  84. $(PROJECT_ROOT)\lib\$O\theme_i.c : $(O)\theme_i.c
  85. $(PROJECT_ROOT)\lib\$(O)\shgina.tlb : $(O)\shgina.tlb
  86. $(O)\shgina.tlb : shgina.idl $(O)\shgina.h
  87. $(PROJECT_ROOT)\lib\$(O)\shldisp.tlb : $(O)\shldisp.tlb
  88. $(O)\shldisp.tlb : shldisp.idl $(O)\shldisp.h
  89. $(PROJECT_ROOT)\lib\$(O)\shimgvw.tlb : $(O)\shimgvw.tlb
  90. $(O)\shimgvw.tlb : shimgvw.idl $(O)\shimgvw.h
  91. $(PROJECT_ROOT)\inc\$(O)\shimgvw.h : $(O)\shimgvw.h
  92. $(PROJECT_ROOT)\lib\$(O)\shimgvw_i.c : $(O)\shimgvw_i.c
  93. $(PROJECT_ROOT)\inc\$(O)\opsprof.h : $(O)\opsprof.h
  94. $(PROJECT_ROOT)\lib\$(O)\webvw.tlb : $(O)\webvw.tlb
  95. $(O)\webvw.tlb : webvw.idl $(O)\webvw.h
  96. $(PROJECT_ROOT)\inc\$(O)\webvw.h : $(O)\webvw.h
  97. $(PROJECT_ROOT)\lib\$(O)\webvw_i.c : $(O)\webvw_i.c
  98. $(PROJECT_ROOT)\lib\$(O)\shpriv_i.c : $(O)\shpriv_i.c
  99. $(O)\shpriv_i.c : shpriv.idl
  100. $(PROJECT_ROOT)\lib\$(O)\iepriv_i.c : $(O)\iepriv_i.c
  101. $(O)\iepriv_i.c : iepriv.idl
  102. #
  103. # Inference rules. These help build whatever is in the NTTARGETFILES and
  104. # NTTARGETFILE0 lists.
  105. #
  106. .SUFFIXES:.w .h .tlb
  107. # generate header.h and headerp.h from header.w
  108. {}.w{$O}.h:
  109. hsplit -e -o $(*R).x $(*R)p.x $**
  110. wcshdr < $(*R)p.x > $(*R)p.h
  111. wcshdr < $(*R).x > $(*R).y
  112. shfusion2 $(*R).y > $@
  113. # copy generated headers to shell\inc
  114. {$O}.h{$(PROJECT_ROOT)\inc\$(O)}.h:
  115. copy $** $@
  116. # copy generated tlb's to shell\lib\$O
  117. {$O}.tlb{$(PROJECT_ROOT)\lib\$O}.tlb:
  118. copy $** $@
  119. # copy generated c's to shell\lib\$O
  120. {$O}.c{$(PROJECT_ROOT)\lib\$O}.c:
  121. copy $** $@