home *** CD-ROM | disk | FTP | other *** search
/ The World of Computer Software / World_Of_Computer_Software-02-387-Vol-3of3.iso / j / jacal1a0.zip / jacal / Makefile < prev    next >
Makefile  |  1992-12-24  |  2KB  |  64 lines

  1. # Makefile for JACAL: Symbolic Mathematics System.
  2. # Copyright (C) 1990, 1991, 1992 Aubrey Jaffer.
  3. # See the file "COPYING" for terms applying to this program
  4.  
  5. SHELL = /bin/sh
  6. cfiles = scl.scm math.scm
  7. sfiles = vect.scm parse.scm ext.scm norm.scm builtin.scm poly.scm \
  8.     sexp.scm types.scm func.scm hist.scm toploads.scm unparse.scm \
  9.     grammar.scm sect.scm
  10. gfiles = stdgrm.scm
  11. mfiles = ANNOUNCE README COPYING Makefile ChangeLog code.doc demo
  12. allfiles = $(mfiles) $(sfiles) $(cfiles) $(gfiles)
  13. #tfiles are TeX files in subdirectory manual.
  14. tfiles = manual.tex macros.tex cmds.tex relnotes.tex
  15. # Common Lisp not currently supported.
  16. lfiles = scl.lisp math.lisp compilem.lisp
  17.  
  18. tags:    $(sfiles) $(cfiles) $(gfiles)
  19.     etags $(cfiles) $(sfiles) $(gfiles)
  20.  
  21. #how do I say manual/$(tfiles) ?
  22. manual.dvi:    manual
  23.     cd manual; tex manual
  24.  
  25. dist:    tar.Z
  26. tar.Z:    jacal.tar.Z
  27. jacal.tar.Z:    jacal.tar
  28.     -rm -f jacal.tar.Z
  29.     compress jacal.tar
  30. shar.Z:    jacal.shar.Z
  31. jacal.shar.Z:    jacal.shar
  32.     -rm -f jacal.shar.Z
  33.     compress jacal.shar
  34.  
  35. tar:    jacal.tar
  36. jacal.tar:    temp/jacal
  37.     cd temp; tar chf ../jacal.tar jacal
  38.     -rm -rf temp
  39. shar:    jacal.shar
  40. jacal.shar:    temp/jacal
  41.     cd temp; shar jacal >../jacal.shar
  42. dclshar:    jacal.com
  43. com:    jacal.com
  44. jacal.com:    temp/jacal
  45.     cd temp; dclshar jacal >../jacal.com
  46. zip:    jacal.zip
  47. jacal.zip:    temp/jacal
  48.     cd temp; zip -ru ../jacal.zip jacal
  49.     -rm -rf temp
  50.  
  51. temp/jacal:    $(allfiles)
  52.     -rm -rf temp
  53.     mkdir temp
  54.     mkdir temp/jacal
  55.     ln  $(allfiles) temp/jacal
  56.     mkdir temp/jacal/manual
  57.     cd manual; ln $(tfiles) ../temp/jacal/manual
  58.  
  59. clean:
  60.     -rm -f *~ *.orig *.rej eval_* core a.out *.o \#*
  61. distclean:    realclean
  62. realclean:
  63.     -rm -f *~ *.orig *.rej eval_* TAGS core a.out *.o \#*
  64.