Mercurial > dovecot > original-hg > dovecot-1.2
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 |
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 | 3 AM_CPPFLAGS = \ |
4 -I$(top_srcdir)/src/lib \ | |
5 -I$(top_srcdir)/src/lib-mail \ | |
6 -I$(top_srcdir)/src/lib-index \ | |
7 -I$(top_srcdir)/src/lib-storage \ | |
8 -I$(top_srcdir)/src/lib-storage/index | |
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 | 11 |
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 | 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 | 16 convert-storage.c \ |
17 convert-plugin.c | |
18 | |
19 noinst_HEADERS = \ | |
20 convert-storage.h \ | |
21 convert-plugin.h | |
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 | 24 |
25 convert_tool_SOURCES = \ | |
26 convert-tool.c | |
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 | 32 |
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 | 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 | 37 |
4852 | 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 | 40 install-exec-local: |
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 | 45 done |