DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
Packaging your software applications

Defining collectively relocatable objects

Follow these steps to define package objects as collectively relocatable:

  1. Define a value for the BASEDIR parameter.

    Put a definition for the BASEDIR parameter in your pkginfo(F) file. This parameter names a directory where relocatable objects will be placed by default. If you supply no value for BASEDIR, no package objects are considered as collectively relocatable.

  2. Define objects as collectively relocatable in the prototype(F) file.

    An object is defined as collectively relocatable by using a relative pathname in its entry in the prototype file. A relative pathname does not begin with a slash. For example, src/myfile is a relative pathname, while /src/myfile is a fixed pathname.


    NOTE: A package can deliver some objects with relocatable locations and others with fixed locations.

All objects defined as collectively relocatable are put under the same root directory on the installation machine. The root directory value will be one of the following (and in this order):
Next topic: Defining individually relocatable objects
Previous topic: 4. Making package objects relocatable

© 2003 Caldera International, Inc. All rights reserved.
SCO OpenServer Release 5.0.7 -- 11 February 2003