annotate src/plugins/expire/Makefile.am @ 9004:a5555606846b HEAD

Fixed plugins to work with config rewrite.
author Timo Sirainen <tss@iki.fi>
date Mon, 02 Feb 2009 01:06:53 -0500
parents 2d24b8b46308
children 1b586a2fee8b
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
4525
7ad90caaf34f Install expire-tool and convert-tool to libexec dir.
Timo Sirainen <tss@iki.fi>
parents: 4523
diff changeset
1 pkglibexecdir = $(libexecdir)/dovecot
7ad90caaf34f Install expire-tool and convert-tool to libexec dir.
Timo Sirainen <tss@iki.fi>
parents: 4523
diff changeset
2
4523
99699cf9df43 Initial import of expire plugin code. Seems to work with at least one user. :)
Timo Sirainen <timo.sirainen@movial.fi>
parents:
diff changeset
3 AM_CPPFLAGS = \
99699cf9df43 Initial import of expire plugin code. Seems to work with at least one user. :)
Timo Sirainen <timo.sirainen@movial.fi>
parents:
diff changeset
4 -I$(top_srcdir)/src/lib \
8370
ffe34451c01a expire-tool: Use the new auth-master API instead of doing the lookup ourself.
Timo Sirainen <tss@iki.fi>
parents: 7864
diff changeset
5 -I$(top_srcdir)/src/lib-auth \
9004
a5555606846b Fixed plugins to work with config rewrite.
Timo Sirainen <tss@iki.fi>
parents: 8376
diff changeset
6 -I$(top_srcdir)/src/lib-settings \
4523
99699cf9df43 Initial import of expire plugin code. Seems to work with at least one user. :)
Timo Sirainen <timo.sirainen@movial.fi>
parents:
diff changeset
7 -I$(top_srcdir)/src/lib-dict \
99699cf9df43 Initial import of expire plugin code. Seems to work with at least one user. :)
Timo Sirainen <timo.sirainen@movial.fi>
parents:
diff changeset
8 -I$(top_srcdir)/src/lib-mail \
7335
969656b58e7f Added wildcard support to expire plugin. Added a new expire_altmove setting
Timo Sirainen <tss@iki.fi>
parents: 7094
diff changeset
9 -I$(top_srcdir)/src/lib-imap \
4523
99699cf9df43 Initial import of expire plugin code. Seems to work with at least one user. :)
Timo Sirainen <timo.sirainen@movial.fi>
parents:
diff changeset
10 -I$(top_srcdir)/src/lib-index \
99699cf9df43 Initial import of expire plugin code. Seems to work with at least one user. :)
Timo Sirainen <timo.sirainen@movial.fi>
parents:
diff changeset
11 -I$(top_srcdir)/src/lib-storage \
99699cf9df43 Initial import of expire plugin code. Seems to work with at least one user. :)
Timo Sirainen <timo.sirainen@movial.fi>
parents:
diff changeset
12 -I$(top_srcdir)/src/lib-storage/index \
99699cf9df43 Initial import of expire plugin code. Seems to work with at least one user. :)
Timo Sirainen <timo.sirainen@movial.fi>
parents:
diff changeset
13 -DPKG_RUNDIR=\""$(rundir)"\"
99699cf9df43 Initial import of expire plugin code. Seems to work with at least one user. :)
Timo Sirainen <timo.sirainen@movial.fi>
parents:
diff changeset
14
4910
e66dc3774099 Changed the plugin filename numbering (ie. the ordering in which the plugins
Timo Sirainen <tss@iki.fi>
parents: 4891
diff changeset
15 lib20_expire_plugin_la_LDFLAGS = -module -avoid-version
4523
99699cf9df43 Initial import of expire plugin code. Seems to work with at least one user. :)
Timo Sirainen <timo.sirainen@movial.fi>
parents:
diff changeset
16
99699cf9df43 Initial import of expire plugin code. Seems to work with at least one user. :)
Timo Sirainen <timo.sirainen@movial.fi>
parents:
diff changeset
17 module_LTLIBRARIES = \
4910
e66dc3774099 Changed the plugin filename numbering (ie. the ordering in which the plugins
Timo Sirainen <tss@iki.fi>
parents: 4891
diff changeset
18 lib20_expire_plugin.la
4523
99699cf9df43 Initial import of expire plugin code. Seems to work with at least one user. :)
Timo Sirainen <timo.sirainen@movial.fi>
parents:
diff changeset
19
4910
e66dc3774099 Changed the plugin filename numbering (ie. the ordering in which the plugins
Timo Sirainen <tss@iki.fi>
parents: 4891
diff changeset
20 lib20_expire_plugin_la_SOURCES = \
4523
99699cf9df43 Initial import of expire plugin code. Seems to work with at least one user. :)
Timo Sirainen <timo.sirainen@movial.fi>
parents:
diff changeset
21 expire-env.c \
99699cf9df43 Initial import of expire plugin code. Seems to work with at least one user. :)
Timo Sirainen <timo.sirainen@movial.fi>
parents:
diff changeset
22 expire-plugin.c
99699cf9df43 Initial import of expire plugin code. Seems to work with at least one user. :)
Timo Sirainen <timo.sirainen@movial.fi>
parents:
diff changeset
23
99699cf9df43 Initial import of expire plugin code. Seems to work with at least one user. :)
Timo Sirainen <timo.sirainen@movial.fi>
parents:
diff changeset
24 noinst_HEADERS = \
99699cf9df43 Initial import of expire plugin code. Seems to work with at least one user. :)
Timo Sirainen <timo.sirainen@movial.fi>
parents:
diff changeset
25 auth-client.h \
99699cf9df43 Initial import of expire plugin code. Seems to work with at least one user. :)
Timo Sirainen <timo.sirainen@movial.fi>
parents:
diff changeset
26 expire-env.h \
9004
a5555606846b Fixed plugins to work with config rewrite.
Timo Sirainen <tss@iki.fi>
parents: 8376
diff changeset
27 expire-plugin.h \
a5555606846b Fixed plugins to work with config rewrite.
Timo Sirainen <tss@iki.fi>
parents: 8376
diff changeset
28 expire-settings.h
4523
99699cf9df43 Initial import of expire plugin code. Seems to work with at least one user. :)
Timo Sirainen <timo.sirainen@movial.fi>
parents:
diff changeset
29
4525
7ad90caaf34f Install expire-tool and convert-tool to libexec dir.
Timo Sirainen <tss@iki.fi>
parents: 4523
diff changeset
30 pkglibexec_PROGRAMS = expire-tool
4523
99699cf9df43 Initial import of expire plugin code. Seems to work with at least one user. :)
Timo Sirainen <timo.sirainen@movial.fi>
parents:
diff changeset
31
99699cf9df43 Initial import of expire plugin code. Seems to work with at least one user. :)
Timo Sirainen <timo.sirainen@movial.fi>
parents:
diff changeset
32 expire_tool_SOURCES = \
99699cf9df43 Initial import of expire plugin code. Seems to work with at least one user. :)
Timo Sirainen <timo.sirainen@movial.fi>
parents:
diff changeset
33 auth-client.c \
9004
a5555606846b Fixed plugins to work with config rewrite.
Timo Sirainen <tss@iki.fi>
parents: 8376
diff changeset
34 expire-settings.c \
4523
99699cf9df43 Initial import of expire plugin code. Seems to work with at least one user. :)
Timo Sirainen <timo.sirainen@movial.fi>
parents:
diff changeset
35 expire-tool.c
99699cf9df43 Initial import of expire plugin code. Seems to work with at least one user. :)
Timo Sirainen <timo.sirainen@movial.fi>
parents:
diff changeset
36
99699cf9df43 Initial import of expire plugin code. Seems to work with at least one user. :)
Timo Sirainen <timo.sirainen@movial.fi>
parents:
diff changeset
37 libs = \
99699cf9df43 Initial import of expire plugin code. Seems to work with at least one user. :)
Timo Sirainen <timo.sirainen@movial.fi>
parents:
diff changeset
38 $(STORAGE_LIBS) \
9004
a5555606846b Fixed plugins to work with config rewrite.
Timo Sirainen <tss@iki.fi>
parents: 8376
diff changeset
39 $(top_builddir)/src/lib-settings/libsettings.a \
8376
2d24b8b46308 $STORAGE_LIBS now contains all the libraries that libstorage needs.
Timo Sirainen <tss@iki.fi>
parents: 8372
diff changeset
40 $(top_builddir)/src/lib-dict/libdict.a
4523
99699cf9df43 Initial import of expire plugin code. Seems to work with at least one user. :)
Timo Sirainen <timo.sirainen@movial.fi>
parents:
diff changeset
41
99699cf9df43 Initial import of expire plugin code. Seems to work with at least one user. :)
Timo Sirainen <timo.sirainen@movial.fi>
parents:
diff changeset
42 expire_tool_LDADD = \
99699cf9df43 Initial import of expire plugin code. Seems to work with at least one user. :)
Timo Sirainen <timo.sirainen@movial.fi>
parents:
diff changeset
43 $(libs) \
7844
7b39370dae6b If we need -lcrypto for randomness, put it to $LIBS instead of $RAND_LIBS
Timo Sirainen <tss@iki.fi>
parents: 7826
diff changeset
44 $(LIBICONV)
4523
99699cf9df43 Initial import of expire plugin code. Seems to work with at least one user. :)
Timo Sirainen <timo.sirainen@movial.fi>
parents:
diff changeset
45
99699cf9df43 Initial import of expire plugin code. Seems to work with at least one user. :)
Timo Sirainen <timo.sirainen@movial.fi>
parents:
diff changeset
46 expire_tool_DEPENDENCIES = $(libs)
99699cf9df43 Initial import of expire plugin code. Seems to work with at least one user. :)
Timo Sirainen <timo.sirainen@movial.fi>
parents:
diff changeset
47
99699cf9df43 Initial import of expire plugin code. Seems to work with at least one user. :)
Timo Sirainen <timo.sirainen@movial.fi>
parents:
diff changeset
48 install-exec-local:
99699cf9df43 Initial import of expire plugin code. Seems to work with at least one user. :)
Timo Sirainen <timo.sirainen@movial.fi>
parents:
diff changeset
49 $(mkdir_p) $(DESTDIR)$(moduledir)/imap \
99699cf9df43 Initial import of expire plugin code. Seems to work with at least one user. :)
Timo Sirainen <timo.sirainen@movial.fi>
parents:
diff changeset
50 $(DESTDIR)$(moduledir)/pop3 \
99699cf9df43 Initial import of expire plugin code. Seems to work with at least one user. :)
Timo Sirainen <timo.sirainen@movial.fi>
parents:
diff changeset
51 $(DESTDIR)$(moduledir)/lda
99699cf9df43 Initial import of expire plugin code. Seems to work with at least one user. :)
Timo Sirainen <timo.sirainen@movial.fi>
parents:
diff changeset
52 for d in imap pop3 lda; do \
7864
f5d1dc944a7c Previous changes broke plugin symlink creation in make install.
Timo Sirainen <tss@iki.fi>
parents: 7844
diff changeset
53 rm -f $(DESTDIR)$(moduledir)/$$d/lib20_expire_plugin$(MODULE_SUFFIX); \
f5d1dc944a7c Previous changes broke plugin symlink creation in make install.
Timo Sirainen <tss@iki.fi>
parents: 7844
diff changeset
54 $(LN_S) ../lib20_expire_plugin$(MODULE_SUFFIX) $(DESTDIR)$(moduledir)/$$d; \
4523
99699cf9df43 Initial import of expire plugin code. Seems to work with at least one user. :)
Timo Sirainen <timo.sirainen@movial.fi>
parents:
diff changeset
55 done