 File: Building_SAMBA_VMS.TXT   15-Oct-2000	J. Malmberg     6 Building this port of SAMBA_VMS is a complex business.  M This SAMBA for VMS port requires the FRONTPORT library.  It must be installed ! before SAMBA can be run or built.     M The sources are spread through three directory trees.  Logical names are used J to keep the path lengths short.  Unfortunately the number of logical namesM used for such a big project will require the JTQUOTA for the building account  to be set to 30000.   K The first directory tree in search precedence is for the binaries and other K intermediate files from the build process and for source modules where work  is in progress.   N The second directory tree is for VMS specific SAMBA modules that have not beenO released by the SAMBA UNIX team.  This is maintained as a set of CMS libraries.   J The third directory tree contains the SAMBA UNIX source as released by theO SAMBA team.  It is maintained as a set of CMS libraries to track the changes by   the SAMBA team between releases.  F A logical name search list is used for each subdirectory for the buildN procedure to find the modules needed.  The procedure SETUP_SAMBA_VMS_BUILD.COMI will create the logical names that I use.  It is located in the [.source] J directory of the SAMBA VMS specific source modules.  Before running it youL should set your default directory to the base of the directory that you willB be putting the files resulting from the build.  It will create the subdirectories as needed.     L The SAMBA UNIX source is in multiple directories, and can not be stored in aJ single CMS library easily.  I have chosen to create a CMS library for each& directory that is in the SAMBA source.  H This CMS library tree will only have source that is released by the mainI SAMBA team.  A DCL command procedure is used to load in new releases.  It G does a diff of each module, and only enters in changed generations.  It N also removes from the reference directory any modules that are no longer used.    O These Reference directories are at the end of the search lists that used by the  build procedure SAMBA.MMS.    I A second CMS library tree is used to contain the VMS specific changes for K building SAMBA.  This can be set to readonly.  This is in the middle of the  search list.    M A third library tree is used to contained any source modules in progress.  It L also contains the binaries from the build process.  This directory is in the beginning of the search list.   N The SETUP_SAMBA_VMS_BUILD command procedure assumes that CMS library trees forK the SAMBA UNIX code and the SAMBA VMS code are on the same device.  It also M will create the directory structure for directory tree that is needed for the  build products.   O The directory for the build product files does not have to be on same device as  the CMS libraries.    K The SETUP_SAMBA_VMS_BUILD procedure sets up a symbol "make_samba" that when ) typed at the DCL prompt will build samba.     