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.

240 lines
4.9 KiB

  1. $(O)\winerror.h : winerror.mc
  2. $(MC) -h $(PASS0_HEADERDIR) -r $(MC_SOURCEDIR) -d $(MC_FLAGS) $?
  3. $(O)\dpfilter.h : componentid.tab
  4. genlvl -t $(O)
  5. $(O)\mcaia64.mof: mcaia64.mof
  6. $(C_PREPROCESSOR_NAME) $(C_PREPROCESSOR_FLAGS) mcaia64.mof > $(O)\mcaia64.mof
  7. $(O)\ntrtl.h : ntrtl.w $(O)\dpfilter.h makefile.inc
  8. type ntrtl.w > $@
  9. type $(O)\dpfilter.h >> $@
  10. type << >> $@
  11. // end_ntddk end_wdm end_nthal end_ntifs end_ntndis
  12. #endif // _NTRTL_
  13. <<
  14. $(O)\pooltag.txt : pooltag.w
  15. copy $? $@
  16. $(O)\pooltag.pri : pooltag.w
  17. copy $? $@
  18. ZWAPI_DEPENDS = \
  19. $(SDK_INC_PATH)\ntdsapi.h \
  20. ntelfapi.w \
  21. ntexapi_h.w \
  22. ntioapi.w \
  23. ntkeapi.w \
  24. $(SDK_INC_PATH)\ntlpcapi.h \
  25. $(SDK_INC_PATH)\ntlsapi.h \
  26. ntmmapi.w \
  27. $(SDK_INC_PATH)\ntmsapi.h \
  28. ntobapi.w \
  29. ntpnpapi.w \
  30. ntpoapi.w \
  31. ntpsapi.w \
  32. ntregapi.w \
  33. $(SDK_INC_PATH)\ntseapi.h \
  34. $(SDK_INC_PATH)\ntsecapi.h \
  35. ntwmi.w \
  36. ntxcapi.w
  37. $(O)\zwapi.h : $(ZWAPI_DEPENDS)
  38. -del $@
  39. zwapi -o $@ $(ZWAPI_DEPENDS)
  40. type << >> $@
  41. #if _MSC_VER > 1000
  42. #pragma once
  43. #endif
  44. <<
  45. WINNT_DEPENDS = ntdef.w \
  46. $(O)\ntstatus.h \
  47. ntkeapi.w \
  48. !if exist(ntamd64.w)
  49. ntamd64.w \
  50. !endif
  51. ntalpha.w \
  52. nti386.w \
  53. ntmips.w \
  54. ntppc.w \
  55. ntmppc.w \
  56. ntia64.w \
  57. ntxcapi.w \
  58. $(SDK_INC_PATH)\ntseapi.h \
  59. ntpsapi.w \
  60. ntexapi_h.w \
  61. ntmmapi.w \
  62. ntioapi.w \
  63. ntobapi.w \
  64. ntpoapi.w \
  65. ntimage.w \
  66. $(O)\ntrtl.h \
  67. nturtl.w \
  68. ntldr.w \
  69. ntelfapi.w \
  70. ntregapi.w \
  71. $(SDK_INC_PATH)\ntconfig.h \
  72. $(SDK_INC_PATH)\ntddtape.h \
  73. nxalpha.w \
  74. nxamd64.w \
  75. nxia64.w \
  76. nxi386.w \
  77. sxstypes.w \
  78. ########################################################################
  79. # winnt.h
  80. #
  81. $(O)\winnt.h: $(WINNT_DEPENDS) makefile.inc
  82. type << > $@
  83. /*++ BUILD Version: ???? Increment this if a change has global effects
  84. $(COPYRIGHT_STRING)
  85. Module Name:
  86. winnt.h
  87. Abstract:
  88. This module defines the 32-Bit Windows types and constants that are
  89. defined by NT, but exposed through the Win32 API.
  90. Revision History:
  91. --*/
  92. #ifndef _WINNT_
  93. #define _WINNT_
  94. #ifdef __cplusplus
  95. extern "C" {
  96. #endif
  97. <<
  98. hextract -f2 -o $@ -lt winnt -bt begin_winnt end_winnt $(WINNT_DEPENDS)
  99. type << >> $@
  100. #ifdef __cplusplus
  101. }
  102. #endif
  103. #endif /* _WINNT_ */
  104. <<
  105. ########################################################################
  106. # winnt.rh
  107. #
  108. $(O)\winnt.rh: ntdef.w makefile.inc
  109. type << > $@
  110. /*++ BUILD Version: ???? Increment this if a change has global effects
  111. $(COPYRIGHT_STRING)
  112. Module Name:
  113. winnt.rh
  114. Abstract:
  115. This module defines the 32-Bit Windows resource codes from winnt.h
  116. Revision History:
  117. --*/
  118. <<
  119. hextract -o $@ -lt r_winnt -bt begin_r_winnt end_r_winnt ntdef.w
  120. #
  121. # winbase.h, winbasep.h, wbasek.h, winbase.x, winbasep.x
  122. #
  123. $(O)\winbase.x $(O)\winbasep.x $(O)\wbasek.h : winbase.w
  124. hsplit -e -x $(O)\wbasek.h userk -o $(O)\winbase.x $(O)\winbasep.x winbase.w
  125. $(O)\winbase.y : $(O)\winbase.x
  126. wcshdr < $? > $@
  127. $(O)\winbase.inl: $(O)\winbase.h
  128. $(O)\winbase.h : $(O)\winbase.y
  129. shfusion2 $? > $@ SetStubsFile('$(O)\winbase.inl')
  130. $(O)\winbasep.h : $(O)\winbasep.x
  131. wcshdr < $? > $@
  132. #
  133. # sxstypes.h
  134. #
  135. $(O)\sxstypes.h : sxstypes.w
  136. echo. > $@
  137. hextract -o $@ -xt winnt_only -lt sxstypes -bt begin_sxstypes end_sxstypes $?
  138. #
  139. # winnls.h, winnlsp.h, winnls.x
  140. #
  141. $(O)\winnls.x $(O)\winnlsp.h: winnls.w
  142. hsplit -e -o $(O)\winnls.x $(O)\winnlsp.h winnls.w
  143. $(O)\winnls.h: $(O)\winnls.x
  144. wcshdr < $? > $@
  145. #
  146. # winreg.h, winregp.x, winreg.x
  147. #
  148. $(O)\winreg.x $(O)\winregp.x: winreg.w
  149. hsplit -e -o $(O)\winreg.x $(O)\winregp.x winreg.w
  150. $(O)\winreg.h: $(O)\winreg.x
  151. wcshdr < $? > $@
  152. #
  153. # wmidata.h, wmicore.bmf, wmicore.mof
  154. #
  155. $(O)\wmicore.bmf: $(O)\wmicore.mof
  156. $(O)\wmidata.h : $(O)\wmicore.bmf
  157. wmimofck -m -h$@ $?
  158. #
  159. # lzexpand.h
  160. #
  161. $(O)\lzexpand.h : lzexpand.x
  162. wcshdr < $? > $@
  163. #
  164. # winsvc.h
  165. #
  166. $(O)\winsvc.h: winsvc.x
  167. wcshdr < $? > $@
  168. #
  169. # strsafe.h, ntstrsafe.h
  170. #
  171. STRSAFE_DEPENDS = strsafe.w
  172. $(O)\ntstrsafe.h : $(STRSAFE_DEPENDS) ntstrsafe.mng
  173. type << > $@
  174. <<
  175. hextract -o $@ -bt begin_ntstrsafe end_ntstrsafe $(STRSAFE_DEPENDS)
  176. -munge ntstrsafe.mng -k -m -i -l -t $@ >> NUL
  177. $(O)\strsafe.h : $(STRSAFE_DEPENDS)
  178. type << > $@
  179. <<
  180. hextract -o $@ -bt begin_strsafe end_strsafe $(STRSAFE_DEPENDS)