changeset 3974:10db5f23d3f0 HEAD

Forgot to add
author Timo Sirainen <tss@iki.fi>
date Thu, 02 Feb 2006 23:20:40 +0200
parents fec2e36ddb3b
children 9de8bce1077e
files src/plugins/convert/Makefile.am
diffstat 1 files changed, 46 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/plugins/convert/Makefile.am	Thu Feb 02 23:20:40 2006 +0200
@@ -0,0 +1,46 @@
+AM_CPPFLAGS = \
+	-I$(top_srcdir)/src/lib \
+	-I$(top_srcdir)/src/lib-mail \
+	-I$(top_srcdir)/src/lib-index \
+	-I$(top_srcdir)/src/lib-storage \
+	-I$(top_srcdir)/src/lib-storage/index
+
+lib01_convert_plugin_la_LDFLAGS = -module -avoid-version
+
+module_LTLIBRARIES = \
+	lib01_convert_plugin.la
+
+lib01_convert_plugin_la_SOURCES = \
+	convert-storage.c \
+	convert-plugin.c
+
+noinst_HEADERS = \
+	convert-storage.h \
+	convert-plugin.h
+
+noinst_PROGRAMS = convert-tool
+
+convert_tool_SOURCES = \
+	convert-tool.c
+
+libs = \
+	$(top_srcdir)/src/lib-storage/register/libstorage-register.a \
+	$(STORAGE_LIBS) \
+	$(top_srcdir)/src/lib-storage/libstorage.a \
+	$(top_srcdir)/src/lib-storage/subscription-file/libstorage_subscription_file.a \
+	$(top_srcdir)/src/lib-imap/libimap.a \
+	$(top_srcdir)/src/lib-mail/libmail.a \
+	$(top_srcdir)/src/lib-charset/libcharset.a \
+	$(top_srcdir)/src/lib/liblib.a
+
+convert_tool_LDADD = \
+	$(libs) \
+	$(LIBICONV) \
+	$(RAND_LIBS)
+
+install-exec-local:
+	$(mkdir_p) $(DESTDIR)$(moduledir)/imap $(DESTDIR)$(moduledir)/pop3 $(DESTDIR)$(moduledir)/lda
+	for d in imap pop3 lda; do \
+	  rm -f $(DESTDIR)$(moduledir)/$$d/lib02_trash_plugin.so; \
+	  $(LN_S) ../lib01_convert_plugin.so $(DESTDIR)$(moduledir)/$$d; \
+	done