mkpckge.bat 777 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. rem mkpckge.bat -- compile a single package.
  2. set package=%1
  3. if %lisp% == psl goto psl
  4. cd %reduce%\lisp\csl\%MACHINE%
  5. if not %MACHINE% == cygwin32 goto l2
  6. if not "%Cygroot%" == "" goto l1
  7. set Cygroot=c:\cygwin
  8. echo *** Using %Cygroot% as Cygroot value
  9. :l1
  10. set opath=%path%
  11. set path=%Cygroot%\bin;%PATH%
  12. :l2
  13. start /wait /min csl -k6000 -v -i ..\reduce.img -o ..\reduce.img %reduce%\util\mkpckge.dat -- %reduce%\log\%package%.blg
  14. goto ret
  15. :psl
  16. if not "%pslsize%" == "" goto cont
  17. set pslsize=12000000
  18. :cont
  19. cd %reduce%
  20. start /wait /min lisp\psl\%MACHINE%\psl\bpsl -td %pslsize% -f lisp\psl\%MACHINE%\red\reduce.img -i util\mkpckge.dat -o log\%1.blg
  21. :ret
  22. cd %reduce%
  23. set package=
  24. if not "%opath%" == "" set path=%opath%
  25. set opath=