Makefile.am revision 1c93b5986ac03e0b3cd69647332b412ecef4d6a9
pkglibexecdir = $(libexecdir)/dovecot
AM_CPPFLAGS = \
-I$(top_srcdir)/src/lib \
-I$(top_srcdir)/src/lib-dict \
-I$(top_srcdir)/src/lib-mail \
-I$(top_srcdir)/src/lib-imap \
-I$(top_srcdir)/src/lib-index \
-I$(top_srcdir)/src/lib-storage \
-I$(top_srcdir)/src/lib-storage/index \
-DPKG_RUNDIR=\""$(rundir)"\"
lib20_expire_plugin_la_LDFLAGS = -module -avoid-version
module_LTLIBRARIES = \
lib20_expire_plugin.la
lib20_expire_plugin_la_SOURCES = \
expire-env.c \
expire-plugin.c
noinst_HEADERS = \
auth-client.h \
expire-env.h \
expire-plugin.h
pkglibexec_PROGRAMS = expire-tool
expire_tool_SOURCES = \
auth-client.c \
expire-tool.c
libs = \
$(top_builddir)/src/lib-storage/register/libstorage-register.a \
$(top_builddir)/src/lib-storage/list/libstorage_list.a \
$(STORAGE_LIBS) \
$(top_builddir)/src/lib-imap/libimap.a \
$(top_builddir)/src/lib-mail/libmail.a \
$(top_builddir)/src/lib-dict/libdict.a \
$(top_builddir)/src/lib-charset/libcharset.a \
$(top_builddir)/src/lib/liblib.a
expire_tool_LDADD = \
$(libs) \
$(LIBICONV)
expire_tool_DEPENDENCIES = $(libs)
install-exec-local:
$(mkdir_p) $(DESTDIR)$(moduledir)/imap \
$(DESTDIR)$(moduledir)/pop3 \
$(DESTDIR)$(moduledir)/lda
for d in imap pop3 lda; do \
rm -f $(DESTDIR)$(moduledir)/$$d/lib20_expire_plugin$(MODULE_SUFFIX); \
$(LN_S) ../lib20_expire_plugin$(MODULE_SUFFIX) $(DESTDIR)$(moduledir)/$$d; \
done