Re: automake for plugins (no PROGRAMS, no LIBRARIES)

2004-06-13 Thread Stephane Bortzmeyer
On Fri, Apr 02, 2004 at 12:04:18PM +0200, Andreas Schwab <[EMAIL PROTECTED]> wrote a message of 18 lines which said: > Use libtool with -module. That's what I eventually did. The actual configuration in Makefile.am is: pkglib_LTLIBRARIES = whois.la whois_la_SOURCES = whois.c whois_la_LDFLAGS

Re: automake for plugins (no PROGRAMS, no LIBRARIES)

2004-04-16 Thread Dale E Martin
> Use libtool with -module. Specifically, in your Makefile.am, do something like: dummy_la_LDFLAGS=-module But what about this problem: http://mail.gnu.org/archive/html/automake/2004-02/msg00179.html My problem here is that if I do: dummy_la_LDFLAGS=-module dummy_la_LIBADD = $(top_builddir)/sup

Re: automake for plugins (no PROGRAMS, no LIBRARIES)

2004-04-02 Thread Alien999999999
use libraries and change the name with -module in the _LDFLAGS in the Makefile.am Op vrijdag 2 april 2004 12:53, schreef Stephane Bortzmeyer: > On Fri, Apr 02, 2004 at 12:04:18PM +0200, > Andreas Schwab <[EMAIL PROTECTED]> wrote > > a message of 18 lines which said: > > Use libtool with -modu

Re: automake for plugins (no PROGRAMS, no LIBRARIES)

2004-04-02 Thread Stephane Bortzmeyer
On Fri, Apr 02, 2004 at 12:04:18PM +0200, Andreas Schwab <[EMAIL PROTECTED]> wrote a message of 18 lines which said: > Use libtool with -module. Must I? I mean, I never used libtool, I do not need it until now.

Re: automake for plugins (no PROGRAMS, no LIBRARIES)

2004-04-02 Thread Andreas Schwab
Stephane Bortzmeyer <[EMAIL PROTECTED]> writes: >>Use the `PROGRAMS' primary for programs, `LIBRARIES' for libraries, >>and `LTLIBRARIES' for Libtool libraries > > None is convenient: PROGRAMS are not compiled with the proper flags > and LIBRARIES have naming rules I disagree with (`dummy.so' is n

automake for plugins (no PROGRAMS, no LIBRARIES)

2004-04-02 Thread Stephane Bortzmeyer
I modify an existing program to add the opportunity to load plugins. They will be small '.so' files (not ".a") loaded by dlopen. The program uses automake. Reading automake's documentation, I cannot find an easy way to use it. The node "Programs and libraries" about primaries talk only of: >Use t