view src/plugins/trash/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 80a11f8650a4
children
line wrap: on
line source

AM_CPPFLAGS = \
	-I$(top_srcdir)/src/lib \
	-I$(top_srcdir)/src/lib-mail \
	-I$(top_srcdir)/src/lib-index \
	-I$(top_srcdir)/src/lib-storage \
	-I$(top_srcdir)/src/plugins/quota

NOPLUGIN_LDFLAGS =
lib11_trash_plugin_la_LDFLAGS = -module -avoid-version

module_LTLIBRARIES = \
	lib11_trash_plugin.la

if DOVECOT_PLUGIN_DEPS
lib11_trash_plugin_la_LIBADD = \
	../quota/lib10_quota_plugin.la
endif

lib11_trash_plugin_la_SOURCES = \
	trash-plugin.c

noinst_HEADERS = \
	trash-plugin.h