Mercurial > dovecot > core-2.2
view src/plugins/zlib/Makefile.am @ 12893:0be58f3930b2
Use -Wl,--as-needed -Wl,--no-undefined GNU ld flags for non-plugins.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Sat, 30 Apr 2011 13:41:18 +0300 |
parents | 108754651836 |
children | 378ba560ea9f |
line wrap: on
line source
doveadm_moduledir = $(moduledir)/doveadm AM_CPPFLAGS = \ -I$(top_srcdir)/src/lib \ -I$(top_srcdir)/src/lib-master \ -I$(top_srcdir)/src/lib-mail \ -I$(top_srcdir)/src/lib-index \ -I$(top_srcdir)/src/lib-storage \ -I$(top_srcdir)/src/lib-storage/index \ -I$(top_srcdir)/src/lib-storage/index/dbox-common \ -I$(top_srcdir)/src/doveadm NOPLUGIN_LDFLAGS = lib10_doveadm_zlib_plugin_la_LDFLAGS = -module -avoid-version lib20_zlib_plugin_la_LDFLAGS = -module -avoid-version module_LTLIBRARIES = \ lib20_zlib_plugin.la if BUILD_ZLIB ZLIB_LIB = -lz endif if BUILD_BZLIB BZLIB_LIB = -lbz2 endif lib20_zlib_plugin_la_LIBADD = \ $(ZLIB_LIB) $(BZLIB_LIB) lib20_zlib_plugin_la_SOURCES = \ istream-bzlib.c \ istream-zlib.c \ ostream-zlib.c \ ostream-bzlib.c \ zlib-plugin.c noinst_HEADERS = \ istream-zlib.h \ ostream-zlib.h \ zlib-plugin.h doveadm_module_LTLIBRARIES = \ lib10_doveadm_zlib_plugin.la lib10_doveadm_zlib_plugin_la_SOURCES = \ doveadm-zlib.c