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