automake
[Top][All Lists]
Advanced

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

Re: Building a number of small shared modules


From: Alexandre Duret-Lutz
Subject: Re: Building a number of small shared modules
Date: Thu, 22 May 2003 18:50:44 +0200
User-agent: Gnus/5.090016 (Oort Gnus v0.16) Emacs/21.3 (gnu/linux)

>>> "Joshua" == Joshua Kwan <address@hidden> 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





reply via email to

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