next up previous contents index
Next: Building the CERNLIB Up: Installing CERNLIB software Previous: Components of the

Building standalone libraries

Complete libraries are built using the syntax make target. For example, KERNLIB is built by typing SLIB MAKE KERNLIB. Again, this is similar to the VMS case, except that the SLIB exec sends the command to the LIBSERV service machine. This service machine runs the appropriate MAKELIB job in batch. MAKELIB is controlled by a configuration file MAKELIB NAMES on the PUBCR 197.

To explain how this works, let us examine the case of KERNLIB in more detail.

The command MAKE KERNLIB corresponds to an entry in the MAKELIB NAMES file as shown below.

MAKE_KERNLIB entry in MAKELIB NAMES file

************************************************************************
* KERNLIB Library                                                      *
************************************************************************
:NICK.MAKE_KERNLIB
:JOB.KERNLIB   :BOPT.TIME  0:10 JOBID KERNLIB
               :QSUB.
:TXTLIB.KERNASW KERNNUM KERNGEN
:FROM.  KERNASW KERNNUM KERNGEN

In this case, make kernlib will rebuild KERNLIB from the individual TXTLIBs KERNASW, KERNNUM and KERNGEN. To rebuild the individual TXTLIBs, make from kernlib should be used. In this case, one must ensure that the jobs terminate correctly before rebuilding KERNLIB from its components.

PACKLIB is built in a similar manner. The entry in MAKELIB names is as follows:

MAKE_PACKLIB entry in MAKELIB NAMES file

************************************************************************
* PACKLIB Library                                                      *
************************************************************************
:NICK.MAKE_PACKLIB
:JOB.PACKLIB   :BOPT.TIME  0:15 JOBID PACKLIB
               :QSUB.
:TXTLIB.CSPACK EPIO FFREAD IOPACK KAPACK KUIP HBOOK MINUIT VMIO
        ZBOOK ZEBRA KERNASW KERNNUM KERNGEN CDLIB FATLIB
:FROM.  CSPACK EPIO FFREAD IOPACK KAPACK KUIP HBOOK MINUIT VMIO
        ZBOOK ZEBRA CDLIB FATLIB


Janne Saarela
Wed Mar 29 15:50:22 METDST 1995