annotate src/plugins/convert/Makefile.am @ 9575:0a00dcc4f0ea HEAD

lib-storage: Allow shared namespace prefix to use %variable modifiers.
author Timo Sirainen <tss@iki.fi>
date Wed, 26 May 2010 17:07:51 +0100
parents 2d24b8b46308
children
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: 4413
diff changeset
1 pkglibexecdir = $(libexecdir)/dovecot
7ad90caaf34f Install expire-tool and convert-tool to libexec dir.
Timo Sirainen <tss@iki.fi>
parents: 4413
diff changeset
2
3974
10db5f23d3f0 Forgot to add
Timo Sirainen <tss@iki.fi>
parents:
diff changeset
3 AM_CPPFLAGS = \
10db5f23d3f0 Forgot to add
Timo Sirainen <tss@iki.fi>
parents:
diff changeset
4 -I$(top_srcdir)/src/lib \
10db5f23d3f0 Forgot to add
Timo Sirainen <tss@iki.fi>
parents:
diff changeset
5 -I$(top_srcdir)/src/lib-mail \
10db5f23d3f0 Forgot to add
Timo Sirainen <tss@iki.fi>
parents:
diff changeset
6 -I$(top_srcdir)/src/lib-index \
10db5f23d3f0 Forgot to add
Timo Sirainen <tss@iki.fi>
parents:
diff changeset
7 -I$(top_srcdir)/src/lib-storage \
10db5f23d3f0 Forgot to add
Timo Sirainen <tss@iki.fi>
parents:
diff changeset
8 -I$(top_srcdir)/src/lib-storage/index
10db5f23d3f0 Forgot to add
Timo Sirainen <tss@iki.fi>
parents:
diff changeset
9
4910
e66dc3774099 Changed the plugin filename numbering (ie. the ordering in which the plugins
Timo Sirainen <tss@iki.fi>
parents: 4891
diff changeset
10 lib20_convert_plugin_la_LDFLAGS = -module -avoid-version
3974
10db5f23d3f0 Forgot to add
Timo Sirainen <tss@iki.fi>
parents:
diff changeset
11
10db5f23d3f0 Forgot to add
Timo Sirainen <tss@iki.fi>
parents:
diff changeset
12 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
13 lib20_convert_plugin.la
3974
10db5f23d3f0 Forgot to add
Timo Sirainen <tss@iki.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_convert_plugin_la_SOURCES = \
3974
10db5f23d3f0 Forgot to add
Timo Sirainen <tss@iki.fi>
parents:
diff changeset
16 convert-storage.c \
10db5f23d3f0 Forgot to add
Timo Sirainen <tss@iki.fi>
parents:
diff changeset
17 convert-plugin.c
10db5f23d3f0 Forgot to add
Timo Sirainen <tss@iki.fi>
parents:
diff changeset
18
10db5f23d3f0 Forgot to add
Timo Sirainen <tss@iki.fi>
parents:
diff changeset
19 noinst_HEADERS = \
10db5f23d3f0 Forgot to add
Timo Sirainen <tss@iki.fi>
parents:
diff changeset
20 convert-storage.h \
10db5f23d3f0 Forgot to add
Timo Sirainen <tss@iki.fi>
parents:
diff changeset
21 convert-plugin.h
10db5f23d3f0 Forgot to add
Timo Sirainen <tss@iki.fi>
parents:
diff changeset
22
4525
7ad90caaf34f Install expire-tool and convert-tool to libexec dir.
Timo Sirainen <tss@iki.fi>
parents: 4413
diff changeset
23 pkglibexec_PROGRAMS = convert-tool
3974
10db5f23d3f0 Forgot to add
Timo Sirainen <tss@iki.fi>
parents:
diff changeset
24
10db5f23d3f0 Forgot to add
Timo Sirainen <tss@iki.fi>
parents:
diff changeset
25 convert_tool_SOURCES = \
10db5f23d3f0 Forgot to add
Timo Sirainen <tss@iki.fi>
parents:
diff changeset
26 convert-tool.c
10db5f23d3f0 Forgot to add
Timo Sirainen <tss@iki.fi>
parents:
diff changeset
27
4851
5255476a24b5 Don't #include a .c file. Figured out another way to do it.
Timo Sirainen <tss@iki.fi>
parents: 4808
diff changeset
28 common_objects = \
5255476a24b5 Don't #include a .c file. Figured out another way to do it.
Timo Sirainen <tss@iki.fi>
parents: 4808
diff changeset
29 convert-storage.lo
5255476a24b5 Don't #include a .c file. Figured out another way to do it.
Timo Sirainen <tss@iki.fi>
parents: 4808
diff changeset
30
8376
2d24b8b46308 $STORAGE_LIBS now contains all the libraries that libstorage needs.
Timo Sirainen <tss@iki.fi>
parents: 8372
diff changeset
31 libs = $(STORAGE_LIBS)
3974
10db5f23d3f0 Forgot to add
Timo Sirainen <tss@iki.fi>
parents:
diff changeset
32
10db5f23d3f0 Forgot to add
Timo Sirainen <tss@iki.fi>
parents:
diff changeset
33 convert_tool_LDADD = \
4851
5255476a24b5 Don't #include a .c file. Figured out another way to do it.
Timo Sirainen <tss@iki.fi>
parents: 4808
diff changeset
34 $(common_objects) \
3974
10db5f23d3f0 Forgot to add
Timo Sirainen <tss@iki.fi>
parents:
diff changeset
35 $(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
36 $(LIBICONV)
3974
10db5f23d3f0 Forgot to add
Timo Sirainen <tss@iki.fi>
parents:
diff changeset
37
4852
68edda84b056 Fixed dependencies
Timo Sirainen <tss@iki.fi>
parents: 4851
diff changeset
38 convert_tool_DEPENDENCIES = $(libs) $(common_objects)
4305
b33e92f80392 Added library dependencies to work correctly for convert-tool.
Timo Sirainen <tss@iki.fi>
parents: 4014
diff changeset
39
3974
10db5f23d3f0 Forgot to add
Timo Sirainen <tss@iki.fi>
parents:
diff changeset
40 install-exec-local:
10db5f23d3f0 Forgot to add
Timo Sirainen <tss@iki.fi>
parents:
diff changeset
41 for d in imap pop3 lda; do \
4413
96d9947fde60 mkdir_p doesn't accept multiple directories in some systems, so do it one at
Timo Sirainen <tss@iki.fi>
parents: 4305
diff changeset
42 $(mkdir_p) $(DESTDIR)$(moduledir)/$$d; \
7864
f5d1dc944a7c Previous changes broke plugin symlink creation in make install.
Timo Sirainen <tss@iki.fi>
parents: 7844
diff changeset
43 rm -f $(DESTDIR)$(moduledir)/$$d/lib20_convert_plugin$(MODULE_SUFFIX); \
f5d1dc944a7c Previous changes broke plugin symlink creation in make install.
Timo Sirainen <tss@iki.fi>
parents: 7844
diff changeset
44 $(LN_S) ../lib20_convert_plugin$(MODULE_SUFFIX) $(DESTDIR)$(moduledir)/$$d; \
3974
10db5f23d3f0 Forgot to add
Timo Sirainen <tss@iki.fi>
parents:
diff changeset
45 done