automake question

From: Hironori Ito (hito@rcf.rhic.bnl.gov)
Date: Wed Dec 11 2002 - 15:30:15 EST

  • Next message: Christian Holm Christensen: "Re: Proposing BRAT/bratmain addition (PLEASE READ!)"
    Hello.  I have a question about automake. As I said before, I wanted to 
    update breg/base to accomodate the new hijing format. (This is already 
    done in my code.)  But, I have a slight problem to set up right thing in 
    Makefile.am in breg/base/src (or else). Here is the question.
    
    1. In breg/base/src, there is "rdzevt.F".  This is the main program, 
    which calles user specific program.
    2. Currently, in breg/base/src/Makefile.am, "rdzevt.F" is only in the 
    pkgdata_DATA entry.  Therefore, it is not compiled. (just moved to share 
    directory)
    3.  I need breg/base to compile rdzevt.F  to an object file so that I 
    can link it later with a specific user program. This can be done by 
    adding "rdzevt.F" to libBregBase_la_SOURCES entry, which create 
    "rdzevt.o".  But, this is not (???) included in libBregBase.so.
    
    The main question is what is the right way to do this. But, I also have 
    a few other questions.
    a.) Is there a way to know what is in ????.so file.
    b.) Is there a way to use(link with) a specific program from ?????.so file.
    c.) How can I move ???.o to ~/lib directory if I want to.
    
    If somebody knows these things, I appreciate your answers.
    
    	Hiro
    


    This archive was generated by hypermail 2.1.5 : Wed Dec 11 2002 - 16:12:05 EST