Makefile.am revision 84c8de119f2a07785796c0ff6aca20486ea576c5
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-index \
-I$(top_srcdir)/src/lib-storage \
-I$(top_srcdir)/src/lib-storage/index \
-DPKG_RUNDIR=\""$(rundir)"\"
lib01_expire_plugin_la_LDFLAGS = -module -avoid-version
module_LTLIBRARIES = \
lib01_expire_plugin.la
lib01_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-storage/libstorage.a \
$(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) \
$(RAND_LIBS)
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/lib01_expire_plugin.so; \
$(LN_S) ../lib01_expire_plugin.so $(DESTDIR)$(moduledir)/$$d; \
done