automake
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Jens Rehsack
Subject: Re: creating a shared library from more than one src directory
Date: Tue, 26 Oct 2004 12:52:53 +0000
User-agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.1) Gecko/20040722

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]