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.

34 lines
1.3 KiB

  1. DDK_TOOL_PATH=\sdktools\ddk\generate
  2. PROJECT_ROOT=$(BASEDIR)
  3. ddk:
  4. !IFNDEF PASS0ONLY
  5. ddk:
  6. #
  7. # Process only on the second pass
  8. #
  9. # NOTE: DDKBUILD.CMD will exit w/o building a DDK on AXP64 and Alpha.
  10. # This is by design.
  11. @perl -e "while (<>) { if (m/QFEBUILDNUMBER=(\d*)/) { printf(qq($$1\n)); }}" $(SDXROOT)\__qfenum__ > QFE_NUM.TXT
  12. call $(RAZZLETOOLPATH)\copyddkfiles.cmd ddk_public.ini ddk $(PROJECT_ROOT)
  13. call $(RAZZLETOOLPATH)\copyddkfiles.cmd hal_public.ini hal $(PROJECT_ROOT)
  14. call $(RAZZLETOOLPATH)\copyddkfiles.cmd ifs_public.ini ifs $(PROJECT_ROOT)
  15. call $(RAZZLETOOLPATH)\copyddkfiles.cmd processor_public.ini processor $(PROJECT_ROOT)
  16. !ENDIF
  17. #
  18. # Remove generated files
  19. #
  20. clean:
  21. @if EXIST .\obj rd /s/q .\obj
  22. @if EXIST .\objchk rd /s/q .\objchk
  23. @if EXIST .\objfre rd /s/q .\objfre
  24. @if EXIST .\build.log del /f/q .\build.log
  25. @if EXIST .\build.wrn del /f/q .\build.wrn
  26. @if EXIST .\build.err del /f/q .\build.err
  27. @if EXIST .\buildfre.log del /f/q .\buildfre.log
  28. @if EXIST .\buildfre.wrn del /f/q .\buildfre.wrn
  29. @if EXIST .\buildfre.err del /f/q .\buildfre.err
  30. @if EXIST .\buildchk.log del /f/q .\buildchk.log
  31. @if EXIST .\buildchk.wrn del /f/q .\buildchk.wrn
  32. @if EXIST .\buildchk.err del /f/q .\buildchk.err
  33. @echo Clean