Makefile.am revision 24e5e4526d8f5cbc056ab97fd0d154d0936d7a5e
24e5e4526d8f5cbc056ab97fd0d154d0936d7a5eTimo SirainenAM_CPPFLAGS = \
24e5e4526d8f5cbc056ab97fd0d154d0936d7a5eTimo Sirainen -I$(top_srcdir)/src/lib \
24e5e4526d8f5cbc056ab97fd0d154d0936d7a5eTimo Sirainen -I$(top_srcdir)/src/lib-mail \
24e5e4526d8f5cbc056ab97fd0d154d0936d7a5eTimo Sirainen -I$(top_srcdir)/src/lib-imap \
24e5e4526d8f5cbc056ab97fd0d154d0936d7a5eTimo Sirainen -I$(top_srcdir)/src/lib-index \
24e5e4526d8f5cbc056ab97fd0d154d0936d7a5eTimo Sirainen -I$(top_srcdir)/src/lib-storage \
24e5e4526d8f5cbc056ab97fd0d154d0936d7a5eTimo Sirainen -I$(top_srcdir)/src/lib-storage/index
24e5e4526d8f5cbc056ab97fd0d154d0936d7a5eTimo Sirainen
24e5e4526d8f5cbc056ab97fd0d154d0936d7a5eTimo Sirainenlib20_virtual_plugin_la_LDFLAGS = -module -avoid-version
24e5e4526d8f5cbc056ab97fd0d154d0936d7a5eTimo Sirainen
24e5e4526d8f5cbc056ab97fd0d154d0936d7a5eTimo Sirainenmodule_LTLIBRARIES = \
24e5e4526d8f5cbc056ab97fd0d154d0936d7a5eTimo Sirainen lib20_virtual_plugin.la
24e5e4526d8f5cbc056ab97fd0d154d0936d7a5eTimo Sirainen
24e5e4526d8f5cbc056ab97fd0d154d0936d7a5eTimo Sirainenlib20_virtual_plugin_la_SOURCES = \
24e5e4526d8f5cbc056ab97fd0d154d0936d7a5eTimo Sirainen virtual-config.c \
24e5e4526d8f5cbc056ab97fd0d154d0936d7a5eTimo Sirainen virtual-mail.c \
24e5e4526d8f5cbc056ab97fd0d154d0936d7a5eTimo Sirainen virtual-plugin.c \
24e5e4526d8f5cbc056ab97fd0d154d0936d7a5eTimo Sirainen virtual-storage.c \
24e5e4526d8f5cbc056ab97fd0d154d0936d7a5eTimo Sirainen virtual-sync.c \
24e5e4526d8f5cbc056ab97fd0d154d0936d7a5eTimo Sirainen virtual-transaction.c
24e5e4526d8f5cbc056ab97fd0d154d0936d7a5eTimo Sirainen
24e5e4526d8f5cbc056ab97fd0d154d0936d7a5eTimo Sirainennoinst_HEADERS = \
24e5e4526d8f5cbc056ab97fd0d154d0936d7a5eTimo Sirainen virtual-storage.h
24e5e4526d8f5cbc056ab97fd0d154d0936d7a5eTimo Sirainen
24e5e4526d8f5cbc056ab97fd0d154d0936d7a5eTimo Siraineninstall-exec-local:
24e5e4526d8f5cbc056ab97fd0d154d0936d7a5eTimo Sirainen for d in imap pop3 lda; do \
24e5e4526d8f5cbc056ab97fd0d154d0936d7a5eTimo Sirainen $(mkdir_p) $(DESTDIR)$(moduledir)/$$d; \
24e5e4526d8f5cbc056ab97fd0d154d0936d7a5eTimo Sirainen rm -f $(DESTDIR)$(moduledir)/$$d/lib20_virtual_plugin.so; \
24e5e4526d8f5cbc056ab97fd0d154d0936d7a5eTimo Sirainen $(LN_S) ../lib20_virtual_plugin.so $(DESTDIR)$(moduledir)/$$d; \
24e5e4526d8f5cbc056ab97fd0d154d0936d7a5eTimo Sirainen done