This is the mail archive of the
automake@gnu.org
mailing list for the automake project.
Re: Building a number of small shared modules
- From: Alexandre Duret-Lutz <duret_g at lrde dot epita dot fr>
- To: Joshua Kwan <joshk at triplehelix dot org>
- Cc: automake at gnu dot org
- Date: Thu, 22 May 2003 18:50:44 +0200
- Subject: Re: Building a number of small shared modules
- References: <20030520021345.GA2374@firesong>
>>> "Joshua" == Joshua Kwan <joshk@triplehelix.org> writes:
[...]
Joshua> Is there an easy way to do this?
[...]
Don't write these rules yourself. Use libtool and its -module option.
pkglib_LTLIBRARIES = module1.la module2.la ...
module1_la_SOURCES = module1.c module1.h ...
module1_la_LDFLAGS = -module
module2_la_SOURCES = module2.c module2.h ...
module2_la_LDFLAGS = -module
...
--
Alexandre Duret-Lutz