This is the mail archive of the automake@gnu.org mailing list for the automake project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: creating a shared library from more than one src directory


Bob Friesenhahn wrote:
On Fri, 22 Oct 2004, Alexandre Duret-Lutz wrote:


Jens> Are there any tips how to write such Makefile.am's?


Consider using Libtool convenience libraries for your
subdirectories (there is a section about this in the Automake
manual).


Another way is to use the non-recursive build approach where the sources are located in subdirectories.

You mean adding sth. like this: lib_LTLIBRARIES = libfpbase.so libfpbase_so_SOURCES = $(src_dir)/core/base/$(core_base_SOURCES) \ $(src_dir)/core/base/$(core_config_SOURCES) ... to Makefile.am info project/src/core/?

That may work. Is there a known good example available (do you know
a project using such kind of Makefile.am's?)

Best regards,
Jens



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]