Makefile.am revision f49f1c5fa6a9a55a194e5ada042df134907278f4
noinst_LTLIBRARIES = libindex.la
AM_CPPFLAGS = \
-I$(top_srcdir)/src/lib \
-I$(top_srcdir)/src/lib-test \
-I$(top_srcdir)/src/lib-mail
libindex_la_SOURCES = \
headers = \
test_programs = \
test-mail-index-map \
test-mail-index-sync-ext \
test-mail-index-transaction-finish \
test-mail-index-transaction-update \
test-mail-transaction-log-append \
test-mail-transaction-log-view
noinst_PROGRAMS = $(test_programs)
test_libs = \
test_deps = $(noinst_LTLIBRARIES) $(test_libs)
test_mail_index_map_SOURCES = test-mail-index-map.c
test_mail_index_map_LDADD = $(noinst_LTLIBRARIES) $(test_libs)
test_mail_index_map_DEPENDENCIES = $(test_deps)
test_mail_index_sync_ext_SOURCES = test-mail-index-sync-ext.c
test_mail_index_sync_ext_LDADD = mail-index-sync-ext.lo $(test_libs)
test_mail_index_sync_ext_DEPENDENCIES = $(test_deps)
test_mail_index_transaction_finish_SOURCES = test-mail-index-transaction-finish.c
test_mail_index_transaction_finish_LDADD = mail-index-transaction-finish.lo $(test_libs)
test_mail_index_transaction_finish_DEPENDENCIES = $(test_deps)
test_mail_index_transaction_update_SOURCES = test-mail-index-transaction-update.c
test_mail_index_transaction_update_LDADD = mail-index-transaction-update.lo $(test_libs)
test_mail_index_transaction_update_DEPENDENCIES = $(test_deps)
test_mail_transaction_log_append_SOURCES = test-mail-transaction-log-append.c
test_mail_transaction_log_append_LDADD = mail-transaction-log-append.lo $(test_libs)
test_mail_transaction_log_append_DEPENDENCIES = $(test_deps)
test_mail_transaction_log_view_SOURCES = test-mail-transaction-log-view.c
test_mail_transaction_log_view_LDADD = mail-transaction-log-view.lo $(test_libs)
test_mail_transaction_log_view_DEPENDENCIES = $(test_deps)
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)