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.

33 lines
875 B

  1. @echo off
  2. rem --- Setting SPGRegister informs our build process to automatically
  3. rem register our dlls/exes as they are built
  4. set SPGRegister=1
  5. set SPG_DONT_PUBLISH=1
  6. @set __THISDIR=%~dp0
  7. set SPEECH_ROOT=%__THISDIR:~0,-12%
  8. :spgargs
  9. if /I "%1" == "spg_browseinfo" set SPG_BUILD_BROWSEINFO=1 & shift & goto spgargs
  10. if /I "%1" == "spg_icecap" set SPG_BUILD_ICECAP=1 & shift & goto spgargs
  11. rem --- Now let's go ahead and call nt's razzle...
  12. call %__THISDIR%..\..\..\..\tools\razzle.cmd %1 %2 %3 %4 %5 %6 %7 %8 %9
  13. rem --- Now we can go ahead and make some additional modifications to
  14. rem our environment. Like updating our path to include
  15. rem speech\common\bin.
  16. set path=%path%;%__THISDIR%
  17. rem --- Load SPG aliases
  18. echo Loading SPG private aliases...
  19. alias -f %__THISDIR%\cue.spg
  20. rem --- Go to the appropriate directory
  21. cd /d %SPEECH_ROOT%
  22. @set __THISDIR=