The file CERN_ROOT:[MGR]MAKE.COM must be modified to add the appropriate entries.
This is normally required when a new version of a Monte-Carlo generator is released. All that is required is that the appropriate source file (.CAR) and cradle (.CRA) are installed in the /cern/new/src/car area.
A new CERN module is added by updating the entry l_cernpgm, as shown below.
Updating the list of CERN modules
$! Initial configuration $! $ l\_cernpgm ="SYSREQ ,FATMEN ,ZFTP ,ZSERV ,PAWSERV ,VAXTAP ,"+ - "FLOP ,TREE ,CERNLIB ,FCASPLIT,XBANNER ,WYLBUR ,"+ - "HIGZCONV,F2H ,FCONV "+ - l\_packpgm+l\_products $! With ASTUCE added $! $ l\_cernpgm ="SYSREQ ,FATMEN ,ZFTP ,ZSERV ,PAWSERV ,VAXTAP ,"+ - "FLOP ,TREE ,CERNLIB ,FCASPLIT,XBANNER ,WYLBUR ,"+ - "HIGZCONV,F2H ,FCONV ,ASTUCE "+ - l\_packpgm+l\_products
Finally, the appropriate cradle (ASTUCE.CRA) is added to /cern/new/src/car.
A new user module is added in a similar manner, except that the list l_userpgm is updated (and the appropriate cradle added to /cern/new/src/car).
Let us take the example of the HEPDB modules. These are defined by the entry hepdbset.
Initial definition of hepdbset
$ l\_hepdbset="CDSERV ,HEPDB "
The above definition will cause the modules CDSERV (the HEPDB server) and HEPDB (the interactive interface) to be built. We now wish to add two new modules: CDMAKE, to create new database files, and CDMOVE, the module responsibile for distribution of journal files between different servers.
This is done as follows:
The definition of hepdbset is now as follows:
New definition of hepdbset
$ l\_hepdbset="CDSERV ,HEPDB ,CDMOVE ,CDMAKE "
If we suppose that the initial definition of PACKLIB is as follows:
Initial definition of PACKLIB
$ l_packlib ="CSPACK ,EPIO ,FATLIB ,FFREAD ,HBOOK ,KAPACK ,"+ - "KUIP ,MINUIT ,ZBOOK ,ZEBRA ,CDLIB "
we can add a new component simply by updating this list and adding the appropriate cradle.