next up previous contents
Next: The tools Class Up: The Directory Classes Previous: The docs Class

The scripts Class

Contains public and private scripts. Public scripts are executable files which are built to the directory $AST_ROOT/$SYSTEM/bin, and installed to $INSTALL/bin/asterix. Private scripts are auxiliary files (``subroutines''), which are not intended to be directly referenced by the user. These are built to $AST_ROOT/$SYSTEM/etc and installed to $INSTALL/etc/asterix.

There are 4 types of supported scripts -- C shell scripts, Bourne shell scripts, ICL procedures and Tcl procedures. The first three require no special treatment by the mk system, but the Tcl files require the location of the tclsh interpreter and the ADAM Tk library edited in. These locations are specified by token substitutions in the mk script.

Only those tokens denoting source for the class of scripts in a particular directory are mandatory, eg.

   files PRIVATE_TCL_SRC sub1.tcl doit.tcl
   
   files PUBLIC_ICL_SRC  mickey.icl mouse.icl language.icl
We have no Bourne shell scripst so we don't have to specify the PUBLIC_SH_SRC or the PRIVATE _SH_SRC tokens.



Asterix
Tue Oct 7 12:01:41 BST 1997