Mercurial > dovecot > original-hg > dovecot-1.2
annotate src/plugins/convert/Makefile.am @ 8372:469fc16380da HEAD
shared namespaces: new %%h variable, expanding to the traget users home.
author | Sascha Wilde <wilde@intevation.de> |
---|---|
date | Tue, 28 Oct 2008 12:42:22 +0100 |
parents | f5d1dc944a7c |
children | 2d24b8b46308 |
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 |
3974 | 31 libs = \ |
3997 | 32 $(top_builddir)/src/lib-storage/register/libstorage-register.a \ |
4891
6ab2712f1a93
Only imap binary was actually working.
Timo Sirainen <tss@iki.fi>
parents:
4852
diff
changeset
|
33 $(top_builddir)/src/lib-storage/list/libstorage_list.a \ |
3974 | 34 $(STORAGE_LIBS) \ |
3997 | 35 $(top_builddir)/src/lib-imap/libimap.a \ |
36 $(top_builddir)/src/lib-mail/libmail.a \ | |
8372
469fc16380da
shared namespaces: new %%h variable, expanding to the traget users home.
Sascha Wilde <wilde@intevation.de>
parents:
7864
diff
changeset
|
37 $(top_builddir)/src/lib-auth/libauth.a \ |
3997 | 38 $(top_builddir)/src/lib-charset/libcharset.a \ |
39 $(top_builddir)/src/lib/liblib.a | |
3974 | 40 |
41 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
|
42 $(common_objects) \ |
3974 | 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) |
3974 | 45 |
4852 | 46 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
|
47 |
3974 | 48 install-exec-local: |
49 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
|
50 $(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
|
51 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
|
52 $(LN_S) ../lib20_convert_plugin$(MODULE_SUFFIX) $(DESTDIR)$(moduledir)/$$d; \ |
3974 | 53 done |