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.

72 lines
2.0 KiB

  1. use constant SAPIROOT => $SAPIROOT;
  2. use constant PROJROOT => $SAPIROOT;
  3. use constant PROJ => "sapi5";
  4. $PROJROOT = $SAPIROOT;
  5. $PROJ = "sapi5";
  6. if (!$__IITENVPM ) { use iit::env; }
  7. sub SetLocalGlobalsAndBeginCustom
  8. {
  9. local($cmdWebUpdate) = $sBinExeDir."\\WebUpdate.exe";
  10. local($cmdIExpress) = $sBinExeDir."\\iexpress.exe";
  11. local($cmdSignCode) = $sBinExeDir."\\signcode.exe";
  12. local($cmdMakeCert) = $sBinExeDir."\\makecert.exe";
  13. local($cmdCert2Spc) = $sBinExeDir."\\cert2spc.exe";
  14. local($cmdDevEnv) = $sBinExeDir."\\devenv.exe";
  15. local($nTuxTimeout) = 240; #(4 min)
  16. local($nTotalBVTs) = 0;
  17. local($nFailedBVTs) = 0;
  18. local($nTotalMSIs) = 0;
  19. local($nFailedMSIs) = 0;
  20. local($sMSIDir) = $SAPIROOT."\\msi";
  21. $nMajorVersion = 5;
  22. $sDropDir = $sRootDropDir."\\".$sBuildNumber;
  23. $sLogDropDir = $sRootDropDir."\\web.files\\logs";
  24. $sRegKeyBase = "Software\\Microsoft\\Intelligent Interface Technologies\\SAPI5";
  25. $sRemoteTOC = $sLogDropDir."\\".$sShortBuildName."TOC.html";
  26. @lAllowedModifiers = ("ALL", "REBUILD", "RESYNC", "TYPO", "QUIET", "NONEWLOG", "DEFAULT", "VERBOSE", "TEST", "MAIL");
  27. @lOfficialMailRecipients = ("spgmake");
  28. $cmdIn = "in.exe";
  29. $cmdOut = "out.exe";
  30. $cmdSync = "ssync.exe";
  31. $cmdSlmck = "slmck.exe";
  32. $sOfficialBuildAccount = "spgbld";
  33. return(Main(@_));
  34. }
  35. %hOptionDescription =
  36. (
  37. %hOptionDescription,
  38. "Icecap" => " include ICECap version", #I
  39. );
  40. sub CleanUpSAPI()
  41. {
  42. if (PushD($SAPIROOT))
  43. {
  44. local(@lSubdirs) = GetSubdirs();
  45. foreach $i (@lSubdirs)
  46. {
  47. if (lc($i) ne 'bin'
  48. && lc($i) ne 'lib'
  49. && lc($i) ne 'logs')
  50. {
  51. DelAll($i, 1, 1); #recurse, ignore SLM Ini
  52. }
  53. }
  54. }
  55. PopD(); #$SAPIROOT
  56. }
  57. $__SPGENVPM = 1;
  58. 1;