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.

224 lines
4.5 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. WINNT_DEPENDS = ntdef.w \
  41. $(O)\ntstatus.h \
  42. ntkeapi.w \
  43. !if exist(ntamd64.w)
  44. ntamd64.w \
  45. !endif
  46. ntalpha.w \
  47. nti386.w \
  48. ntmips.w \
  49. ntppc.w \
  50. ntmppc.w \
  51. ntia64.w \
  52. ntxcapi.w \
  53. $(SDK_INC_PATH)\ntseapi.h \
  54. ntpsapi.w \
  55. ntexapi_h.w \
  56. ntmmapi.w \
  57. ntioapi.w \
  58. ntobapi.w \
  59. ntpoapi.w \
  60. ntimage.w \
  61. $(O)\ntrtl.h \
  62. nturtl.w \
  63. ntldr.w \
  64. ntelfapi.w \
  65. ntregapi.w \
  66. $(SDK_INC_PATH)\ntconfig.h \
  67. $(SDK_INC_PATH)\ntddtape.h \
  68. nxalpha.w \
  69. nxamd64.w \
  70. nxia64.w \
  71. nxi386.w \
  72. sxstypes.w
  73. ########################################################################
  74. # winnt.h
  75. #
  76. $(O)\winnt.h: $(WINNT_DEPENDS) makefile.inc
  77. type << > $@
  78. /*++ BUILD Version: ???? Increment this if a change has global effects
  79. $(COPYRIGHT_STRING)
  80. Module Name:
  81. winnt.h
  82. Abstract:
  83. This module defines the 32-Bit Windows types and constants that are
  84. defined by NT, but exposed through the Win32 API.
  85. Revision History:
  86. --*/
  87. #ifndef _WINNT_
  88. #define _WINNT_
  89. #ifdef __cplusplus
  90. extern "C" {
  91. #endif
  92. <<
  93. hextract -f2 -o $@ -lt winnt -bt begin_winnt end_winnt $(WINNT_DEPENDS)
  94. type << >> $@
  95. #ifdef __cplusplus
  96. }
  97. #endif
  98. #endif /* _WINNT_ */
  99. <<
  100. ########################################################################
  101. # winnt.rh
  102. #
  103. $(O)\winnt.rh: ntdef.w makefile.inc
  104. type << > $@
  105. /*++ BUILD Version: ???? Increment this if a change has global effects
  106. $(COPYRIGHT_STRING)
  107. Module Name:
  108. winnt.rh
  109. Abstract:
  110. This module defines the 32-Bit Windows resource codes from winnt.h
  111. Revision History:
  112. --*/
  113. <<
  114. hextract -o $@ -lt r_winnt -bt begin_r_winnt end_r_winnt ntdef.w
  115. #
  116. # winbase.h, winbasep.h, wbasek.h, winbase.x, winbasep.x
  117. #
  118. $(O)\winbase.x $(O)\winbasep.x $(O)\wbasek.h : winbase.w
  119. hsplit -e -x $(O)\wbasek.h userk -o $(O)\winbase.x $(O)\winbasep.x winbase.w
  120. $(O)\winbase.y : $(O)\winbase.x
  121. wcshdr < $? > $@
  122. $(O)\winbase.inl: $(O)\winbase.h
  123. $(O)\winbase.h : $(O)\winbase.y
  124. shfusion2 $? > $@ SetStubsFile('$(O)\winbase.inl')
  125. $(O)\winbasep.h : $(O)\winbasep.x
  126. wcshdr < $? > $@
  127. #
  128. # sxstypes.h
  129. #
  130. $(O)\sxstypes.h : sxstypes.w
  131. echo. > $@
  132. hextract -o $@ -xt winnt_only -lt sxstypes -bt begin_sxstypes end_sxstypes $?
  133. #
  134. # winnls.h, winnlsp.h, winnls.x
  135. #
  136. $(O)\winnls.x $(O)\winnlsp.h: winnls.w
  137. hsplit -e -o $(O)\winnls.x $(O)\winnlsp.h winnls.w
  138. $(O)\winnls.h: $(O)\winnls.x
  139. wcshdr < $? > $@
  140. #
  141. # winreg.h, winregp.x, winreg.x
  142. #
  143. $(O)\winreg.x $(O)\winregp.x: winreg.w
  144. hsplit -e -o $(O)\winreg.x $(O)\winregp.x winreg.w
  145. $(O)\winreg.h: $(O)\winreg.x
  146. wcshdr < $? > $@
  147. #
  148. # wmidata.h, wmicore.bmf, wmicore.mof
  149. #
  150. $(O)\wmicore.bmf: $(O)\wmicore.mof
  151. $(O)\wmidata.h : $(O)\wmicore.bmf
  152. wmimofck -m -h$@ $?
  153. #
  154. # lzexpand.h
  155. #
  156. $(O)\lzexpand.h : lzexpand.x
  157. wcshdr < $? > $@
  158. #
  159. # strsafe.h, ntstrsafe.h
  160. #
  161. STRSAFE_DEPENDS = strsafe.w
  162. $(O)\ntstrsafe.h : $(STRSAFE_DEPENDS) ntstrsafe.mng
  163. type << > $@
  164. <<
  165. hextract -o $@ -bt begin_ntstrsafe end_ntstrsafe $(STRSAFE_DEPENDS)
  166. -munge ntstrsafe.mng -k -m -i -l -t $@ >> NUL
  167. $(O)\strsafe.h : $(STRSAFE_DEPENDS)
  168. type << > $@
  169. <<
  170. hextract -o $@ -bt begin_strsafe end_strsafe $(STRSAFE_DEPENDS)