Mercurial > dovecot > original-hg > dovecot-1.2
annotate src/plugins/convert/Makefile.am @ 4891:6ab2712f1a93 HEAD
Only imap binary was actually working.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Sun, 10 Dec 2006 14:35:02 +0200 |
parents | 68edda84b056 |
children | e66dc3774099 |
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 | |
10 lib01_convert_plugin_la_LDFLAGS = -module -avoid-version | |
11 | |
12 module_LTLIBRARIES = \ | |
13 lib01_convert_plugin.la | |
14 | |
15 lib01_convert_plugin_la_SOURCES = \ | |
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-storage/libstorage.a \ |
36 $(top_builddir)/src/lib-imap/libimap.a \ | |
37 $(top_builddir)/src/lib-mail/libmail.a \ | |
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) \ |
44 $(LIBICONV) \ | |
45 $(RAND_LIBS) | |
46 | |
4852 | 47 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
|
48 |
3974 | 49 install-exec-local: |
50 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
|
51 $(mkdir_p) $(DESTDIR)$(moduledir)/$$d; \ |
4014 | 52 rm -f $(DESTDIR)$(moduledir)/$$d/lib01_convert_plugin.so; \ |
3974 | 53 $(LN_S) ../lib01_convert_plugin.so $(DESTDIR)$(moduledir)/$$d; \ |
54 done |