Mercurial > dovecot > core-2.2
annotate src/plugins/expire/Makefile.am @ 8376:2d24b8b46308 HEAD
$STORAGE_LIBS now contains all the libraries that libstorage needs.
There's no point in listing the same required libraries everywhere.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Sat, 01 Nov 2008 16:46:16 +0200 |
parents | 469fc16380da |
children | a5555606846b |
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 \ |
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
|
6 -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
|
7 -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
|
8 -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
|
9 -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
|
10 -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
|
11 -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
|
12 -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
|
13 |
4910
e66dc3774099
Changed the plugin filename numbering (ie. the ordering in which the plugins
Timo Sirainen <tss@iki.fi>
parents:
4891
diff
changeset
|
14 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
|
15 |
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 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
|
17 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
|
18 |
4910
e66dc3774099
Changed the plugin filename numbering (ie. the ordering in which the plugins
Timo Sirainen <tss@iki.fi>
parents:
4891
diff
changeset
|
19 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
|
20 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
|
21 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
|
22 |
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 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
|
24 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
|
25 expire-env.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-plugin.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
|
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 auth-client.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 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
|
33 |
99699cf9df43
Initial import of expire plugin code. Seems to work with at least one user. :)
Timo Sirainen <timo.sirainen@movial.fi>
parents:
diff
changeset
|
34 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
|
35 $(STORAGE_LIBS) \ |
8376
2d24b8b46308
$STORAGE_LIBS now contains all the libraries that libstorage needs.
Timo Sirainen <tss@iki.fi>
parents:
8372
diff
changeset
|
36 $(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
|
37 |
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 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
|
39 $(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
|
40 $(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
|
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_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
|
43 |
99699cf9df43
Initial import of expire plugin code. Seems to work with at least one user. :)
Timo Sirainen <timo.sirainen@movial.fi>
parents:
diff
changeset
|
44 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
|
45 $(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
|
46 $(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
|
47 $(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
|
48 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
|
49 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
|
50 $(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
|
51 done |