annotate src/plugins/expire/Makefile.am @ 10667:2b4e61bfb645 HEAD

expire Makefile: Link with .lo, not .o. Helps at least with dependency tracking.
author Timo Sirainen <tss@iki.fi>
date Sun, 07 Feb 2010 18:38:13 +0200
parents 6a1c96577476
children da750dc62c14
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 \
9059
94ecf8a8ed68 Added lib-master and mail-storage-service code that makes it easier to build new Dovecot binaries.
Timo Sirainen <tss@iki.fi>
parents: 9036
diff changeset
6 -I$(top_srcdir)/src/lib-dict \
9004
a5555606846b Fixed plugins to work with config rewrite.
Timo Sirainen <tss@iki.fi>
parents: 8376
diff changeset
7 -I$(top_srcdir)/src/lib-settings \
9059
94ecf8a8ed68 Added lib-master and mail-storage-service code that makes it easier to build new Dovecot binaries.
Timo Sirainen <tss@iki.fi>
parents: 9036
diff changeset
8 -I$(top_srcdir)/src/lib-master \
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
9 -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
10 -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
11 -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
12 -I$(top_srcdir)/src/lib-storage \
9499
3aeab83e661a Removed unnecessary macro definitions from Makefiles.
Timo Sirainen <tss@iki.fi>
parents: 9478
diff changeset
13 -I$(top_srcdir)/src/lib-storage/index
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
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 expire-env.h \
9059
94ecf8a8ed68 Added lib-master and mail-storage-service code that makes it easier to build new Dovecot binaries.
Timo Sirainen <tss@iki.fi>
parents: 9036
diff changeset
26 expire-plugin.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
27
4525
7ad90caaf34f Install expire-tool and convert-tool to libexec dir.
Timo Sirainen <tss@iki.fi>
parents: 4523
diff changeset
28 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
29
99699cf9df43 Initial import of expire plugin code. Seems to work with at least one user. :)
Timo Sirainen <timo.sirainen@movial.fi>
parents:
diff changeset
30 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
31 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
32
9478
4d46c8517a90 expire-tool, --without-shared-libs: Link mountpoint.o so quota plugin loading doesn't fail.
Timo Sirainen <tss@iki.fi>
parents: 9104
diff changeset
33 if !BUILD_SHARED_LIBS
4d46c8517a90 expire-tool, --without-shared-libs: Link mountpoint.o so quota plugin loading doesn't fail.
Timo Sirainen <tss@iki.fi>
parents: 9104
diff changeset
34 unused_objects = \
4d46c8517a90 expire-tool, --without-shared-libs: Link mountpoint.o so quota plugin loading doesn't fail.
Timo Sirainen <tss@iki.fi>
parents: 9104
diff changeset
35 $(top_builddir)/src/lib/mountpoint.o
4d46c8517a90 expire-tool, --without-shared-libs: Link mountpoint.o so quota plugin loading doesn't fail.
Timo Sirainen <tss@iki.fi>
parents: 9104
diff changeset
36 endif
4d46c8517a90 expire-tool, --without-shared-libs: Link mountpoint.o so quota plugin loading doesn't fail.
Timo Sirainen <tss@iki.fi>
parents: 9104
diff changeset
37
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
38 libs = \
10667
2b4e61bfb645 expire Makefile: Link with .lo, not .o. Helps at least with dependency tracking.
Timo Sirainen <tss@iki.fi>
parents: 10091
diff changeset
39 expire-env.lo \
9104
c6d306772f4e Added configure --without-shared-libs to link built binaries against static libraries.
Timo Sirainen <tss@iki.fi>
parents: 9059
diff changeset
40 $(LIBDOVECOT_STORAGE) \
9478
4d46c8517a90 expire-tool, --without-shared-libs: Link mountpoint.o so quota plugin loading doesn't fail.
Timo Sirainen <tss@iki.fi>
parents: 9104
diff changeset
41 $(unused_objects)
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
42
10091
6a1c96577476 Makefiles: Separated LIBDOVECOT and LIBDOVECOT_DEPS.
Timo Sirainen <tss@iki.fi>
parents: 9499
diff changeset
43 expire_tool_LDADD = $(libs) $(LIBDOVECOT) $(MODULE_LIBS)
6a1c96577476 Makefiles: Separated LIBDOVECOT and LIBDOVECOT_DEPS.
Timo Sirainen <tss@iki.fi>
parents: 9499
diff changeset
44 expire_tool_DEPENDENCIES = $(libs) $(LIBDOVECOT_DEPS)