This is the mail archive of the
automake@gnu.org
mailing list for the automake project.
Re: automake for plugins (no PROGRAMS, no LIBRARIES)
- From: Stephane Bortzmeyer <bortzmeyer at nic dot fr>
- To: Andreas Schwab <schwab at suse dot de>
- Cc: automake at gnu dot org
- Date: Sun, 13 Jun 2004 23:31:15 +0200
- Subject: Re: automake for plugins (no PROGRAMS, no LIBRARIES)
- Organization: NIC France
- References: <20040402083520.GA25426@nic.fr> <je1xn6itlp.fsf@sykes.suse.de>
On Fri, Apr 02, 2004 at 12:04:18PM +0200,
Andreas Schwab <schwab@suse.de> 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 = -module
And the main program:
bin_PROGRAMS = echoping
man_MANS = echoping.1
echoping_SOURCES = echoping.c error.c readline.c writen.c util.c http.c icp.c HTParse.c echoping.h icp.h HTParse.h smtp.c
echoping_LDADD =
echoping_LDFLAGS = -export-dynamic
Thanks.