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.

272 lines
6.1 KiB

  1. #
  2. # The contents of this file was moved from windows\makefile0
  3. #
  4. !IFNDEF NO_STRICT
  5. STRICT=1
  6. !ENDIF
  7. TARGETSRCS= \
  8. $(O)\ntsecapi.h \
  9. $(O)\subauth.h \
  10. $(O)\ntsecpkg.h \
  11. $(O)\aclapi.h \
  12. $(O)\aclapip.h \
  13. $(O)\sddl.h \
  14. $(O)\sddlp.h \
  15. $(O)\winsafer.h \
  16. $(O)\winsaferp.h \
  17. $(O)\wincrypt.h
  18. secinc: $(TARGETSRCS)
  19. clean:
  20. -del /q /f $(TARGETSRCS) 2>nul
  21. NTSECAPI_DEPENDS=ntlsa.w \
  22. ntsam.w \
  23. ntmsv1_0.w \
  24. crypt.w \
  25. kerbcon.w \
  26. kerberos.w
  27. NTSECPKG_DEPENDS=ntlsa.w \
  28. ntsam.w \
  29. secpkg.w
  30. #######################################################################
  31. # subauth.h
  32. #
  33. $(O)\subauth.h : ntsam.w \
  34. $(SDK_INC_PATH)\ntstatus.h \
  35. $(DS_INC_PATH)\crypt.h \
  36. $(DS_INC_PATH)\logonmsv.h \
  37. makefile.inc
  38. type << > $(O)\subauth.h
  39. /*++ BUILD Version: ???? Increment this if a change has global effects
  40. $(COPYRIGHT_STRING)
  41. Module Name:
  42. subauth.h
  43. Abstract:
  44. This module defines types and macros for Subauthentication Packages.
  45. Revision History:
  46. --*/
  47. #ifndef _NTSUBAUTH_
  48. #define _NTSUBAUTH_
  49. #ifdef __cplusplus
  50. extern "C" {
  51. #endif
  52. #if (!defined(_NTDEF_)) && (!defined(_NTSECAPI_))
  53. typedef LONG NTSTATUS, *PNTSTATUS;
  54. typedef struct _UNICODE_STRING {
  55. USHORT Length;
  56. USHORT MaximumLength;
  57. PWSTR Buffer;
  58. } UNICODE_STRING, *PUNICODE_STRING;
  59. typedef struct _STRING {
  60. USHORT Length;
  61. USHORT MaximumLength;
  62. PCHAR Buffer;
  63. } STRING, *PSTRING;
  64. #endif
  65. #ifndef _NTDEF_
  66. typedef struct _OLD_LARGE_INTEGER {
  67. ULONG LowPart;
  68. LONG HighPart;
  69. } OLD_LARGE_INTEGER, *POLD_LARGE_INTEGER;
  70. #define NT_SUCCESS(Status) ((NTSTATUS)(Status) >= 0)
  71. #endif
  72. <<
  73. hextract -o $(O)\subauth.h -lt ntsubauth -bt begin_ntsubauth end_ntsubauth ntsam.w
  74. hextract -o $(O)\subauth.h -lt ntsubauth -bt begin_ntsubauth end_ntsubauth $(DS_INC_PATH)\crypt.h
  75. hextract -o $(O)\subauth.h -lt ntsubauth -bt begin_ntsubauth end_ntsubauth $(DS_INC_PATH)\logonmsv.h
  76. hextract -o $(O)\subauth.h -lt ntsubauth -bt begin_ntsubauth end_ntsubauth $(SDK_INC_PATH)\ntstatus.h
  77. type << >> $(O)\subauth.h
  78. #ifdef __cplusplus
  79. }
  80. #endif
  81. #endif /* _NTSUBAUTH_ */
  82. <<
  83. ########################################################################
  84. # ntsecapi.h
  85. #
  86. $(O)\ntsecapi.h : $(NTSECAPI_DEPENDS) makefile.inc
  87. type << > $(O)\ntsecapi.h
  88. /*++ BUILD Version: ???? Increment this if a change has global effects
  89. $(COPYRIGHT_STRING)
  90. Module Name:
  91. ntsecapi.h
  92. Abstract:
  93. This module defines the Local Security Authority APIs.
  94. Revision History:
  95. --*/
  96. #ifndef _NTSECAPI_
  97. #define _NTSECAPI_
  98. #ifdef __cplusplus
  99. extern "C" {
  100. #endif
  101. #ifndef _NTDEF_
  102. typedef LONG NTSTATUS, *PNTSTATUS;
  103. #endif
  104. <<
  105. hextract -o $(O)\ntsecapi.h -lt ntsecapi -bt begin_ntsecapi end_ntsecapi ntlsa.w
  106. type << >> $(O)\ntsecapi.h
  107. #ifndef _NTDEF_
  108. typedef LSA_UNICODE_STRING UNICODE_STRING, *PUNICODE_STRING;
  109. typedef LSA_STRING STRING, *PSTRING ;
  110. #endif
  111. <<
  112. hextract -o $(O)\ntsecapi.h -lt ntsecapi -bt begin_ntsecapi end_ntsecapi ntsam.w
  113. hextract -o $(O)\ntsecapi.h -lt ntsecapi -bt begin_ntsecapi end_ntsecapi ntmsv1_0.w
  114. hextract -o $(O)\ntsecapi.h -lt ntsecapi -bt begin_ntsecapi end_ntsecapi crypt.w
  115. hextract -o $(O)\ntsecapi.h -lt ntsecapi -bt begin_ntsecapi end_ntsecapi kerbcon.w
  116. hextract -o $(O)\ntsecapi.h -lt ntsecapi -bt begin_ntsecapi end_ntsecapi kerberos.w
  117. type << >> $(O)\ntsecapi.h
  118. #ifdef __cplusplus
  119. }
  120. #endif
  121. #endif /* _NTSECAPI_ */
  122. <<
  123. ########################################################################
  124. # ntsecpkg.h
  125. #
  126. $(O)\ntsecpkg.h : $(NTSECPKG_DEPENDS) makefile.inc
  127. type << > $(O)\ntsecpkg.h
  128. /*++ BUILD Version: ???? Increment this if a change has global effects
  129. $(COPYRIGHT_STRING)
  130. Module Name:
  131. ntsecpkg.h
  132. Abstract:
  133. This module defines the structures and APIs for use by a
  134. authentication or security package.
  135. Revision History:
  136. --*/
  137. #ifndef _NTSECPKG_
  138. #define _NTSECPKG_
  139. #ifdef __cplusplus
  140. extern "C" {
  141. #endif
  142. <<
  143. hextract -o $(O)\ntsecpkg.h -lt ntsecpkg -bt begin_ntsecpkg end_ntsecpkg ntlsa.w
  144. hextract -o $(O)\ntsecpkg.h -lt ntsecpkg -bt begin_ntsecpkg end_ntsecpkg ntsam.w
  145. hextract -o $(O)\ntsecpkg.h -lt ntsecpkg -bt begin_ntsecpkg end_ntsecpkg secpkg.w
  146. type << >> $(O)\ntsecpkg.h
  147. #ifdef __cplusplus
  148. }
  149. #endif
  150. #endif /* _NTSECPKG_ */
  151. <<
  152. ########################################################################
  153. # wincrypt.h
  154. #
  155. $(O)\wincrypt.h : wincrypt.x
  156. wcshdr < $? > $@
  157. ########################################################################
  158. # aclapi.h, aclapip.h, aclapip.x, aclapi.x
  159. #
  160. $(O)\aclapi.x $(O)\aclapip.x: aclapi.w
  161. hsplit -e -o $(O)\aclapi.x $(O)\aclapip.x aclapi.w
  162. $(O)\aclapi.h : $(O)\aclapi.x
  163. wcshdr < $? > $@
  164. $(O)\aclapip.h : $(O)\aclapip.x
  165. wcshdr < $? > $@
  166. $(WINDOWS_INC_PATH)\aclapip.h : $(O)\aclapip.h
  167. $(PUBLISH_CMD) {$?=$@}
  168. $(SDK_INC_PATH)\aclapi.h : $(O)\aclapi.h
  169. $(PUBLISH_CMD) {$?=$@}
  170. #
  171. # sddl.h, sddlp.x, sddl.x
  172. #
  173. $(O)\sddl.x $(O)\sddlp.x: sddl.w
  174. hsplit -e -o $(O)\sddl.x $(O)\sddlp.x sddl.w
  175. $(O)\sddl.h : $(O)\sddl.x
  176. wcshdr < $? > $@
  177. $(O)\sddlp.h : $(O)\sddlp.x
  178. wcshdr < $? > $@
  179. ########################################################################
  180. # winsafer.h, winsaferp.h, winsaferp.x, winsafer.x
  181. #
  182. $(O)\winsafer.x $(O)\winsaferp.x: winsafer.w
  183. hsplit -e -o $(O)\winsafer.x $(O)\winsaferp.x winsafer.w
  184. $(O)\winsafer.h : $(O)\winsafer.x
  185. wcshdr < $? > $@
  186. $(O)\winsaferp.h : $(O)\winsaferp.x
  187. wcshdr < $? > $@
  188. $(WINDOWS_INC_PATH)\winsaferp.h : $(O)\winsaferp.h
  189. $(PUBLISH_CMD) {$?=$@}
  190. $(SDK_INC_PATH)\winsafer.h : $(O)\winsafer.h
  191. $(PUBLISH_CMD) {$?=$@}