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

The etc Class

The etc class is the simplest directory class. Source files are simply copied to the etc sub-directory of $AST_ROOT/$SYSTEM in the build phase, and $INSTALL/etc/asterix in the install phase.

Often the files which are specified by the etc directory are calibration files, which are perhaps computed by some application or supplied by an external agency. Each such file should have a subdirectory containing either the code required to make the file or relevant documentation. This directory is not part of the system as far as building and installing is concerned, and is ignored by the mk system. An example of this is the ASCA SIS psf calibration, which lives in kernel/etc. A subdirectory called SISpsfGenerator exists which contains the code which makes this file.

The only mandatory token required by the etc class make file is one called ETC_FILES. You can list all the files under this token or you can split them, which is neater. For example,

   files BITMAPS marilyn.xbm pamella.xbm claudia.xbm
  
   files COLTABS mary.sdf mungo.sdf midge.sdf
  
   #
   # The mandatory token
   #
   files ETC_FILES :BITMAPS: :COLTABS:



Asterix
Tue Oct 7 12:01:41 BST 1997