pkglib_LTLIBRARIES = libdovecot-dsync.la
noinst_LTLIBRARIES = libdsync.la
AM_CPPFLAGS = \
-I$(top_srcdir)/src/lib \
-I$(top_srcdir)/src/lib-test \
-I$(top_srcdir)/src/lib-settings \
-I$(top_srcdir)/src/lib-ssl-iostream \
-I$(top_srcdir)/src/lib-master \
-I$(top_srcdir)/src/lib-mail \
-I$(top_srcdir)/src/lib-imap \
-I$(top_srcdir)/src/lib-index \
-I$(top_srcdir)/src/lib-storage
libdsync_la_SOURCES = \
libdovecot_dsync_la_SOURCES =
libdovecot_dsync_la_LIBADD = libdsync.la ../../lib-storage/libdovecot-storage.la ../../lib-dovecot/libdovecot.la
libdovecot_dsync_la_DEPENDENCIES = libdsync.la
libdovecot_dsync_la_LDFLAGS = -export-dynamic
pkginc_libdir = $(pkgincludedir)
pkginc_lib_HEADERS = \
noinst_HEADERS = \
test_programs = \
test-dsync-mailbox-tree-sync
noinst_PROGRAMS = $(test_programs)
test_libs = \
../../lib-test/libtest.la \
../../lib/liblib.la
test_dsync_mailbox_tree_sync_SOURCES = test-dsync-mailbox-tree-sync.c
test_dsync_mailbox_tree_sync_LDADD = dsync-mailbox-tree-sync.lo dsync-mailbox-tree.lo $(test_libs)
test_dsync_mailbox_tree_sync_DEPENDENCIES = $(pkglib_LTLIBRARIES) $(test_libs)
check-local:
for bin in $(test_programs); do \
if ! $(RUN_TEST) ./$$bin; then exit 1; fi; \
done