view src/plugins/autocreate/Makefile.am @ 12634:431430c43aec

autocreate: Redesigned autocreate plugin to create/subscribe mailboxes lazily. Mailboxes are listed as if they existed, but they're not created until the mailbox is opened for the first time. Mailboxes are autosubscribed only during mailbox creation, so subscription file isn't unnecessarily being read all the time either. This lazy creation also means that if autocreate mailbox is removed from configuration and it was never opened by the client, it was also never physically created.
author Timo Sirainen <tss@iki.fi>
date Wed, 02 Feb 2011 01:27:50 +0200
parents d981b4b50cb7
children 0be58f3930b2
line wrap: on
line source

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

lib20_autocreate_plugin_la_LDFLAGS = -module -avoid-version

module_LTLIBRARIES = \
	lib20_autocreate_plugin.la

lib20_autocreate_plugin_la_SOURCES = \
	autocreate-plugin.c

noinst_HEADERS = \
	autocreate-plugin.h