VSSP packages: Preparing to Install

The following guidelines MUST be followed when preparing a package for public installation in the VSSP group.

Directory structure

Give your package a 'nice' name and make a directory structure containing sub-directories from the following list and any more you may need: Xmgf/README - install notes /src - source code /inc - include files /man - man pages /doc - other documentation /data - a >small< set of test data /bin.sun4 - ) /bin.alpha - ) the respective binaries /bin.mips - ) /lib.sun4 - ) /lib.alpha - ) the respective libraries /lib.mips - ) /etc /bitmaps /examples

Notes

Makefiles

The src directory should contain Makefile(s) so that the complete installation can be achieved by:

rsh beren; cd ...Xmgf/src; one_line_make_command rsh melkor; cd ...Xmgf/src; one_line_make_command rsh narya; cd ...Xmgf/src; one_line_make_command

The one_line_make_command may consist of separate commands separated by semicolons. It should also find out the architecture and load to the relevant lib.x bin.x directories. One way to do this is to pass the architecture to the make command.

one_line_make_command = 'make ARCH=`arch`'


Important Notes


A.Stoddart@ee.surrey.ac.uk
August 1994