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.

23 lines
1.1 KiB

  1. $(O)\$(CATFILENAME):
  2. type <<$(O)\$(@B).SRC
  3. $@
  4. <<KEEP
  5. for %a in ($(BDAPROTECTED)) do @echo $(BDADROPDIR)\%~nxa>>$(O)\$(@B).SRC
  6. for %a in ($(BDAPROTECTEDME)) do @echo $(BDADROPDIR)\%~nxa>>$(O)\$(@B).SRC
  7. set CAT_PRODUCT_VERSION=4.90.0.0000
  8. set CAT_DRM_FILE=..\..\tools\drmlist.txt
  9. set CAT_INCLUDE=..\..\tools\includlist.txt
  10. ..\..\tools\catbuilder $(O)\$(@B).SRC $(O)\$(@B).CDF
  11. $(CORRECTVER_CMD)
  12. makecat -n -v $(O)\$(@B).CDF
  13. copy $@ $@.unsigned
  14. setreg -q 1 TRUE
  15. !MESSAGE WARNING This is a test signature... Real signature required before release...
  16. # signcode -v ..\..\tools\millennium.pvk -spc ..\..\tools\millennium.spc -n "DirectX 8.0 BDA" -i "http://www.microsoft.com/DirectX" -t http://timestamp.verisign.com/scripts/timstamp.dll $@
  17. signcode -sha1 $(NT_CERTHASH) -n "DirectX 8.0 BDA" -i "http://www.microsoft.com/DirectX" -t http://timestamp.verisign.com/scripts/timstamp.dll $@
  18. chktrust -q $@ | ..\..\tools\sed -e "/Succeeded/!d" -e "s/\(.*\): \(.*\)/\.\.\\\.\.\\tools\\touch -c \1.\2/" > $(O)\chkcat.cmd
  19. -del $@.Succeeded > NUL 2>&1
  20. call $(O)\chkcat.cmd
  21. if not exist $@.Succeeded echo nmake : CATALOG SINING ERROR! : failed to sign $@
  22. $(BINPLACE_CMD)