Complete libraries may be built using the syntax make target. For example, KERNLIB is built as follows:
Building KERNLIB
vxcrna:/cernlib > make -n kernlib makepack -p KERNASW makepack -s KERNASW makepack -c KERNASW makepack -p KERNNUM makepack -s KERNNUM makepack -c KERNNUM makepack -p KERNGEN makepack -s KERNGEN makepack -c KERNGEN makepack -l KERNLIB
As for the standard Unix make, the option -n tells make just to list what it would do and not actually execute the commands.
PACKLIB may be built in a similar manner, as shown below.
Building PACKLIB
vxcrna:/cernlib > make -n packlib makepack -p CSPACK makepack -s CSPACK makepack -c CSPACK makepack -p EPIO makepack -s EPIO makepack -c EPIO makepack -p FATLIB makepack -s FATLIB makepack -c FATLIB makepack -p FFREAD makepack -s FFREAD makepack -c FFREAD makepack -p HBOOK makepack -s HBOOK makepack -c HBOOK makepack -p KAPACK makepack -s KAPACK makepack -c KAPACK makepack -p KUIP makepack -s KUIP makepack -c KUIP makepack -p MINUIT makepack -s MINUIT makepack -c MINUIT makepack -p ZBOOK makepack -s ZBOOK makepack -c ZBOOK makepack -p ZEBRA makepack -s ZEBRA makepack -c ZEBRA makepack -p CDLIB makepack -s CDLIB makepack -c CDLIB makepack -l PACKLIB
Both KERNLIB and PACKLIB contain a number of components. Let us first examine how a library containing only one component is built.