diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2015-06-24 10:05:50 +0300 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2015-06-24 10:22:52 +0300 |
commit | a41e62b9eb33c46ec0897c6c956057d8b797883d (patch) | |
tree | 9f51b1f093e20296cbd74cc4cf0659b8ce69abb2 /examples | |
parent | f572e5ac7cbcbc8cdf2bdaef9a873f63ec6b6e6f (diff) | |
download | mailutils-a41e62b9eb33c46ec0897c6c956057d8b797883d.tar.gz mailutils-a41e62b9eb33c46ec0897c6c956057d8b797883d.tar.bz2 |
Make libmuaux installable shared library.
This commit converts libmuaux into installable shared library that
includes selected modules from gnulib. Correspondingly,
lubmu_argp is also converted into installable shared library, which
is the main purpose of these changes. This should allow other packages
which depend on Mailutils to link against libmu_argp even on systems
that for some reason choose not to include static libraries in their
distribution (vide Debian). Another side effect is that such packages
won't need to bother about argp being present on the system, as it is
now included in libmuaux.so.
* bootstrap.conf: Don't create Makefile.am
Build gnulib using libtool and use mu_am_flags custom module
* lib/local/modules/mu_am_flags: New file.
* configure.ac (MU_APP_LIBRARIES): Use libmu_argp.la
(TCPWRAP_LIBRARIES): Add libmutcpwrap.a
* lib/Makefile.am: Make libmuaux installable shared library
New static library libmutcpwrap.a
* libmu_argp/Makefile.am: Make libmu_argp installable shared library
* examples/Makefile.am: Use libmu_argp.la
* examples/cpp/Makefile.am: Likewise.
* imap4d/Makefile.am: Likewise.
* mapi/Makefile.am: Likewise.
* mh/Makefile.am: Likewise,
* pop3d/Makefile.am: Likewise.
Diffstat (limited to 'examples')
-rw-r--r-- | examples/Makefile.am | 12 | ||||
-rw-r--r-- | examples/cpp/Makefile.am | 4 |
2 files changed, 8 insertions, 8 deletions
diff --git a/examples/Makefile.am b/examples/Makefile.am index 91d8f5618..415aead89 100644 --- a/examples/Makefile.am +++ b/examples/Makefile.am @@ -59,7 +59,7 @@ mod_LTLIBRARIES = numaddr.la AM_CPPFLAGS = @MU_LIB_COMMON_INCLUDES@ LDADD = \ - ../lib/libmuaux.a\ + ../lib/libmuaux.la\ ${MU_LIB_MAILUTILS}\ @MU_COMMON_LIBRARIES@ @@ -68,20 +68,20 @@ numaddr_la_LIBADD = ${MU_LIB_SIEVE} numaddr_la_LDFLAGS = -module -avoid-version -no-undefined -rpath '$(moddir)' msg_send_LDADD =\ - ../lib/libmuaux.a\ + ../lib/libmuaux.la\ ${MU_LIB_MAILER}\ @MU_AUTHLIBS@\ ${MU_LIB_MAILUTILS} mta_CPPFLAGS=@MU_LIB_COMMON_INCLUDES@ -I${top_srcdir}/lib -I${top_builddir}/lib mta_LDADD =\ - ../lib/libmuaux.a\ + ../lib/libmuaux.la\ ${MU_LIB_MBOX}\ ${MU_LIB_MAILER}\ ${MU_LIB_MAILUTILS} sfrom_LDADD =\ - ../lib/libmuaux.a\ + ../lib/libmuaux.la\ ${MU_LIB_MBOX}\ ${MU_LIB_IMAP}\ ${MU_LIB_POP}\ @@ -93,7 +93,7 @@ sfrom_LDADD =\ ${MU_LIB_MAILUTILS} nntpclient_LDADD = \ - ../lib/libmuaux.a\ + ../lib/libmuaux.la\ ${MU_LIB_NNTP}\ ${MU_LIB_AUTH}\ @MU_AUTHLIBS@\ @@ -125,7 +125,7 @@ muemail_LDADD = \ mboxidx_CPPFLAGS = @MU_APP_COMMON_INCLUDES@ mboxidx_LDADD=\ - ../lib/libmuaux.a\ + ../lib/libmuaux.la\ ${MU_LIB_MBOX}\ ${MU_LIB_IMAP}\ ${MU_LIB_POP}\ diff --git a/examples/cpp/Makefile.am b/examples/cpp/Makefile.am index d10e8172f..1e6ed7ae4 100644 --- a/examples/cpp/Makefile.am +++ b/examples/cpp/Makefile.am @@ -34,7 +34,7 @@ noinst_PROGRAMS = @MU_CXX_EXAMPLES_BUILD@ AM_CPPFLAGS = @MU_LIB_COMMON_INCLUDES@ AM_LDFLAGS = \ - ../../lib/libmuaux.a\ + ../../lib/libmuaux.la\ ../../libmu_cpp/libmu_cpp.la\ ${MU_LIB_MAILUTILS}\ @MU_COMMON_LIBRARIES@ @@ -52,7 +52,7 @@ sfrom_SOURCES = sfrom.cc url_parse_SOURCES = url-parse.cc LDADD =\ - ../../lib/libmuaux.a\ + ../../lib/libmuaux.la\ ../../libmu_cpp/libmu_cpp.la\ ${MU_LIB_MBOX}\ ${MU_LIB_IMAP}\ |