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.

46 lines
1.4 KiB

  1. CABINET_MAKER=makecab.exe
  2. DOCS_SRC=$(_NTPOSTBLD)\opk\docs
  3. DEPL_SRC=$(_NTPOSTBLD)\deploycab
  4. DEPLOY_SRC=$(_NTPOSTBLD)\opk\tools\$(_BUILDARCH)
  5. WIZARD_SRC=$(_NTPOSTBLD)\opk\wizard
  6. !IFDEF 386
  7. DEPLOY_FILES_ARCH=\
  8. $(DEPLOY_SRC)\cvtarea.exe \
  9. $(DEPLOY_SRC)\oformat.com
  10. !ENDIF
  11. DEPLOY_FILES=\
  12. $(DEPLOY_FILES_ARCH) \
  13. $(DEPLOY_SRC)\factory.exe \
  14. $(DEPLOY_SRC)\setupcl.exe \
  15. $(DEPLOY_SRC)\sysprep.exe \
  16. $(WIZARD_SRC)\setupmgr.exe \
  17. $(DEPL_SRC)\deploy.chm \
  18. $(DEPL_SRC)\readme.txt \
  19. $(DOCS_SRC)\ref.chm
  20. $(O)\deploy.cab: $(DEPLOY_FILES)
  21. type <<$(_NTPOSTBLD)\dump\deploytools\$(@B).ddf
  22. .Set CompressionType=LZX
  23. .Set CompressionLevel=1
  24. .Set MaxDiskSize=CDROM
  25. .Set ReservePerCabinetSize=6144
  26. .Set InfCabinetLineFormat=*cab#*=Application Source Media,*cabfile*,0
  27. .Set DiskDirectoryTemplate=
  28. .Set Compress=ON
  29. .Set Cabinet=ON
  30. .Set CompressionMemory=21
  31. .Set MaxCabinetSize=999999999
  32. .Set InfDiskHeader=
  33. .Set InfDiskLineFormat=
  34. .Set InfCabinetHeader=[SourceDisksNames]
  35. .Set InfFileHeader=
  36. .Set InfFileHeader1=[SourceDisksFiles]
  37. .Set InfFileLineFormat=*file*=*cab#*,,*size*,*csum*
  38. .Set CabinetNameTemplate=$(_NTPOSTBLD)\support\tools$(@)
  39. <<KEEP
  40. for %a in ($(DEPLOY_FILES)) do @echo %a>>$(_NTPOSTBLD)\dump\deploytools\$(@B).ddf
  41. $(CABINET_MAKER) /f $(_NTPOSTBLD)\dump\deploytools\$(@B).ddf /L $(_NTPOSTBLD)\support\tools