Makefile.am revision 6d38e3f15fff99a48f20682c8b11b58b155e3163
SUBDIRS = list index register
noinst_LTLIBRARIES = libstorage.la
AM_CPPFLAGS = \
-I$(top_srcdir)/src/lib \
-I$(top_srcdir)/src/lib-test \
-I$(top_srcdir)/src/lib-auth \
-I$(top_srcdir)/src/lib-dict \
-I$(top_srcdir)/src/lib-sasl \
-I$(top_srcdir)/src/lib-ssl-iostream \
-I$(top_srcdir)/src/lib-fs \
-I$(top_srcdir)/src/lib-master \
-I$(top_srcdir)/src/lib-settings \
-I$(top_srcdir)/src/lib-charset \
-I$(top_srcdir)/src/lib-mail \
-I$(top_srcdir)/src/lib-imap \
-I$(top_srcdir)/src/lib-index \
-DPKG_RUNDIR=\""$(rundir)"\" \
-DMODULEDIR=\""$(moduledir)"\"
libstorage_la_SOURCES = \
fail-mail-storage.c \
fail-mailbox.c \
fail-mail.c \
mail.c \
mail-autoexpunge.c \
mail-copy.c \
mail-error.c \
mail-namespace.c \
mail-search.c \
mail-search-args-cmdline.c \
mail-search-args-imap.c \
mail-search-args-simplify.c \
mail-search-build.c \
mail-search-parser.c \
mail-search-parser-imap.c \
mail-search-parser-cmdline.c \
mail-search-register.c \
mail-search-register-human.c \
mail-search-register-imap.c \
mail-storage.c \
mail-storage-hooks.c \
mail-storage-service.c \
mail-storage-settings.c \
mail-thread.c \
mail-user.c \
mailbox-attribute.c \
mailbox-attribute-internal.c \
mailbox-get.c \
mailbox-guid-cache.c \
mailbox-header.c \
mailbox-keywords.c \
mailbox-list.c \
mailbox-list-notify.c \
mailbox-recent-flags.c \
mailbox-search-result.c \
mailbox-tree.c \
mailbox-uidvalidity.c \
mailbox-watch.c
headers = \
fail-mail-storage.h \
mail-autoexpunge.h \
mail-copy.h \
mail-error.h \
mail-namespace.h \
mail-search.h \
mail-search-build.h \
mail-search-register.h \
mail-thread.h \
mail-storage.h \
mail-search-parser.h \
mail-search-parser-private.h \
mail-storage-private.h \
mail-storage-hooks.h \
mail-storage-service.h \
mail-storage-settings.h \
mail-user.h \
mailbox-attribute.h \
mailbox-attribute-internal.h \
mailbox-attribute-private.h \
mailbox-guid-cache.h \
mailbox-list.h \
mailbox-list-iter.h \
mailbox-list-private.h \
mailbox-list-notify.h \
mailbox-recent-flags.h \
mailbox-search-result-private.h \
mailbox-tree.h \
mailbox-uidvalidity.h \
mailbox-watch.h
shlibs = \
@LINKED_STORAGE_LIBS@ \
list/libstorage_list.la \
index/libstorage_index.la \
register/libstorage_register.la \
../lib-index/libindex.la \
../lib-imap-storage/libimap-storage.la
libstorage_la_LIBADD = $(shlibs)
libstorage_la_DEPENDENCIES = $(shlibs)
pkglib_LTLIBRARIES = libdovecot-storage.la
libdovecot_storage_la_SOURCES =
libdovecot_storage_la_LIBADD = \
libstorage.la \
../lib-dovecot/libdovecot.la \
$(LINKED_STORAGE_LDADD)
libdovecot_storage_la_DEPENDENCIES = \
libstorage.la \
../lib-dovecot/libdovecot.la \
$(LIBDOVECOT_DEPS)
libdovecot_storage_la_LDFLAGS = -export-dynamic
test_programs = \
test-mail-search-args-imap \
test-mail-search-args-simplify \
test-mailbox-get
noinst_PROGRAMS = $(test_programs)
test_libs = \
$(top_builddir)/src/lib-test/libtest.la \
$(top_builddir)/src/lib/liblib.la
test_mail_search_args_imap_SOURCES = test-mail-search-args-imap.c
test_mail_search_args_imap_LDADD = libstorage.la $(LIBDOVECOT)
test_mail_search_args_imap_DEPENDENCIES = libstorage.la $(LIBDOVECOT_DEPS)
test_mail_search_args_simplify_SOURCES = test-mail-search-args-simplify.c
test_mail_search_args_simplify_LDADD = libstorage.la $(LIBDOVECOT)
test_mail_search_args_simplify_DEPENDENCIES = libstorage.la $(LIBDOVECOT_DEPS)
test_mailbox_get_SOURCES = test-mailbox-get.c
test_mailbox_get_LDADD = mailbox-get.lo $(test_libs)
test_mailbox_get_DEPENDENCIES = $(noinst_LTLIBRARIES) $(test_libs)
check: check-am check-test
check-test: all-am
for bin in $(test_programs); do \
if ! $(RUN_TEST) ./$$bin; then exit 1; fi; \
done
pkginc_libdir=$(pkgincludedir)
pkginc_lib_HEADERS = $(headers)
noinst_HEADERS = $(test_headers)