build.csl 641 B

12345678910111213141516171819202122232425262728293031
  1. #!/bin/csh -f
  2. # build.csl --- Build CSL REDUCE.
  3. # Author: Anthony C. Hearn.
  4. setenv lisp csl
  5. pushd $reduce/lisp/csl/$MACHINE
  6. make csl -f ../cslsrc/Makefile.$MACHINE >& $reduce/log/cslbld.log
  7. cat $reduce/util/reduce.csl \
  8. | sed "s|reducevar|$reduce|g" | sed "s/MACHINEvar/$MACHINE/g" \
  9. > $reduce/reduce.csl
  10. chmod 755 $reduce/reduce.csl
  11. if !(-e ../reduce.img) then
  12. # rm -f reduce
  13. # cp csl reduce
  14. # chmod 755 reduce
  15. ./csl -k6000 -v -z -o ../reduce.img $reduce/packages/support/dbuild.lsp \
  16. -- $reduce/log/csldbld.log
  17. endif
  18. # Now compile all new source files (and make a standard executable).
  19. $reduce/util/remake
  20. popd