BRAT VER-1-5-pre6 (a CVS Branch)

From: Christian Holm Christensen (cholm@hehi03.nbi.dk)
Date: Fri Apr 14 2000 - 17:53:38 EDT

  • Next message: Christian Holm Christensen: "Re: BRAT VER-1-5-pre6 (a CVS Branch)"

    Hi all, 
    
    I've just revisited the build system (i.e., the Makefiles) of BRAT and
    come up with a suggestion. This is commitet into the CVS as a _branch_
    (independent part of repository, so as to not effect the main
    development line) with the name "VER-1-5-pre6". You can checkout this
    specific branch with: 
    
      prompt% cvs -d /afs/rhic/brahms/BRAHMS_CVS checkout \
    	  -r VER-1-5-pre6 -d brat_1.5.pre6 brat 
    
    What I've done, is to change brat/mkconfig.* and brat/*/src/Makefile 
    so that the sub-component Makefiles (brat/*/src/Makefile) contains
    nothing but: 
    
      PROG	     = <name>
      PROGDIR    = <Name>
    
      CODESOURCES = <list of object files> 
    
      include $(BRATSYS)/mkconfig.common 
    
      -include .depend 
    
    where <name> is the sub-component name, and  <list of object files> is
    a list of compiled sources files that should go into the sub-component
    library. All the nessecary setting of variables, targets, etc. is done
    in "brat/mkconfig.common" and "brat/mkconfig.$(BRAHMS_ARCH)". The flow
    diagram for the build process is something like: 
    
    
       P: make
          |
          V
          D: Loop over sub-dirs <------------------------\
             until end                                   |
             |                                           |
             V                                           |
             P: make                                     |
                |                                        |
                V                                        ^
    	    P: include $(BRATSYS)/mkconfig.common    |
                   |                                     |
                   V                                     |
                   P: include $(BRATSYS)/mkconfig.common |
                   |                                     |
                   V                                     |
               < D: continue until end >-----------------/
    
    Hard to draw in ASCII, but I guess you get the point. 
    
    Please try this build system on your local computer. In particular: I
    haven't tried to compile BRAT using this scheme on IRIX, HP-UX,
    Solaris, Solaris Intel, PPC, or Windows NT. However, I did extensive
    tests on Linux (both Redhat 5.2 and 6.1) and Digitial Unix, and there
    where no problems. 
    
    If no-one objects within the next week, I'd like to make this the
    default scheme, and bump the version number to 1.6. 
    
    Thanks, 
    
    Christian  -----------------------------------------------------------
    Holm Christensen                             Phone:  (+45) 35 35 96 91 
      Sankt Hansgade 23, 1. th.                  Office: (+45) 353  25 305 
      DK-2200 Copenhagen N                       Web:    www.nbi.dk/~cholm    
      Denmark                                    Email:       cholm@nbi.dk
    
     
             
    



    This archive was generated by hypermail 2b29 : Fri Apr 14 2000 - 17:56:39 EDT