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.

56 lines
1.3 KiB

  1. !INCLUDE $(NTMAKEENV)\makefile.plt
  2. all: $(DDK_INC_PATH)\dderror.h $(O)\hbapiwmi.h
  3. clean: cleansrc all
  4. cleansrc:
  5. -erase dderror.w $(O)\hbapiwmi.h
  6. $(O)\hbapiwmi.h: hbaapi.mof
  7. $(C_PREPROCESSOR_NAME) $(C_PREPROCESSOR_FLAGS) hbaapi.mof > $(O)\hbaapi.mof
  8. mofcomp /b:$O\hbaapi.bmf $(O)\hbaapi.mof
  9. wmimofck -h$O\hbapiwmi.h -m -u $O\hbaapi.bmf
  10. $(PUBLISH_CMD) {$(O)\hbapiwmi.h=$(DDK_INC_PATH)\hbapiwmi.h}
  11. $(DDK_INC_PATH)\dderror.h: dderror.w
  12. $(PUBLISH_CMD) {$**=$@}
  13. dderror.w: $(SDK_INC_PATH)\winerror.h makefile.inc
  14. type << > $@
  15. /*++ BUILD Version: ???? Increment this if a change has global effects
  16. $(COPYRIGHT_STRING)
  17. Module Name:
  18. dderror.h
  19. Abstract:
  20. This module defines the 32-Bit Windows error codes that are useable by
  21. portable kernel drivers.
  22. Revision History:
  23. --*/
  24. #ifndef _DDERROR_
  25. #define _DDERROR_
  26. /*
  27. * This file is a subset of Win32 error codes. Other win32 error codes
  28. * are not supported by portable drivers and should not beused.
  29. * This #define removes the definitions of all other error codes.
  30. */
  31. #define _WINERROR_
  32. <<
  33. hextract -o $@ -lt dderror -bt begin_dderror end_dderror $(SDK_INC_PATH)\winerror.h
  34. type << >> $@
  35. #endif /* _DDERROR_ */
  36. <<