Mercurial > dovecot > core-2.2
changeset 9415:dca52f948452 HEAD
Link test programs with .lo instead of .o. Dependencies aren't tracked properly with .o.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Sun, 31 May 2009 20:14:59 -0400 |
parents | a7cb99756199 |
children | f4eca3bbd4ac |
files | src/lib-imap/Makefile.am src/lib-index/Makefile.am src/lib-mail/Makefile.am |
diffstat | 3 files changed, 25 insertions(+), 25 deletions(-) [+] |
line wrap: on
line diff
--- a/src/lib-imap/Makefile.am Sun May 31 20:10:04 2009 -0400 +++ b/src/lib-imap/Makefile.am Sun May 31 20:14:59 2009 -0400 @@ -52,16 +52,16 @@ ../lib/liblib.la test_imap_match_SOURCES = test-imap-match.c -test_imap_match_LDADD = imap-match.o $(test_libs) -test_imap_match_DEPENDENCIES = imap-match.o $(test_libs) +test_imap_match_LDADD = imap-match.lo $(test_libs) +test_imap_match_DEPENDENCIES = imap-match.lo $(test_libs) test_imap_parser_SOURCES = test-imap-parser.c -test_imap_parser_LDADD = imap-parser.o $(test_libs) -test_imap_parser_DEPENDENCIES = imap-parser.o $(test_libs) +test_imap_parser_LDADD = imap-parser.lo $(test_libs) +test_imap_parser_DEPENDENCIES = imap-parser.lo $(test_libs) test_imap_utf7_SOURCES = test-imap-utf7.c -test_imap_utf7_LDADD = imap-utf7.o $(test_libs) -test_imap_utf7_DEPENDENCIES = imap-utf7.o $(test_libs) +test_imap_utf7_LDADD = imap-utf7.lo $(test_libs) +test_imap_utf7_DEPENDENCIES = imap-utf7.lo $(test_libs) check: check-am check-test check-test: $(test_programs)
--- a/src/lib-index/Makefile.am Sun May 31 20:10:04 2009 -0400 +++ b/src/lib-index/Makefile.am Sun May 31 20:14:59 2009 -0400 @@ -65,17 +65,17 @@ noinst_PROGRAMS = $(test_programs) test_libs = \ - mail-index-util.o \ + mail-index-util.lo \ ../lib-test/libtest.la \ ../lib/liblib.la test_mail_transaction_log_append_SOURCES = test-mail-transaction-log-append.c -test_mail_transaction_log_append_LDADD = mail-transaction-log-append.o $(test_libs) -test_mail_transaction_log_append_DEPENDENCIES = mail-transaction-log-append.o $(test_libs) +test_mail_transaction_log_append_LDADD = mail-transaction-log-append.lo $(test_libs) +test_mail_transaction_log_append_DEPENDENCIES = mail-transaction-log-append.lo $(test_libs) test_mail_transaction_log_view_SOURCES = test-mail-transaction-log-view.c -test_mail_transaction_log_view_LDADD = mail-transaction-log-view.o $(test_libs) -test_mail_transaction_log_view_DEPENDENCIES = mail-transaction-log-view.o $(test_libs) +test_mail_transaction_log_view_LDADD = mail-transaction-log-view.lo $(test_libs) +test_mail_transaction_log_view_DEPENDENCIES = mail-transaction-log-view.lo $(test_libs) check: check-am check-test check-test: $(test_programs)
--- a/src/lib-mail/Makefile.am Sun May 31 20:10:04 2009 -0400 +++ b/src/lib-mail/Makefile.am Sun May 31 20:14:59 2009 -0400 @@ -65,32 +65,32 @@ ../lib/liblib.la test_istream_header_filter_SOURCES = test-istream-header-filter.c -test_istream_header_filter_LDADD = istream-header-filter.o message-header-parser.o $(test_libs) -test_istream_header_filter_DEPENDENCIES = istream-header-filter.o message-header-parser.o $(test_libs) +test_istream_header_filter_LDADD = istream-header-filter.lo message-header-parser.lo $(test_libs) +test_istream_header_filter_DEPENDENCIES = istream-header-filter.lo message-header-parser.lo $(test_libs) test_mbox_from_SOURCES = test-mbox-from.c -test_mbox_from_LDADD = mbox-from.o $(test_libs) -test_mbox_from_DEPENDENCIES = mbox-from.o $(test_libs) +test_mbox_from_LDADD = mbox-from.lo $(test_libs) +test_mbox_from_DEPENDENCIES = mbox-from.lo $(test_libs) test_message_address_SOURCES = test-message-address.c -test_message_address_LDADD = message-address.o rfc822-parser.o $(test_libs) -test_message_address_DEPENDENCIES = message-address.o rfc822-parser.o $(test_libs) +test_message_address_LDADD = message-address.lo rfc822-parser.lo $(test_libs) +test_message_address_DEPENDENCIES = message-address.lo rfc822-parser.lo $(test_libs) test_message_date_SOURCES = test-message-date.c -test_message_date_LDADD = message-date.o rfc822-parser.o $(test_libs) -test_message_date_DEPENDENCIES = message-date.o rfc822-parser.o $(test_libs) +test_message_date_LDADD = message-date.lo rfc822-parser.lo $(test_libs) +test_message_date_DEPENDENCIES = message-date.lo rfc822-parser.lo $(test_libs) test_message_header_parser_SOURCES = test-message-header-parser.c -test_message_header_parser_LDADD = message-header-parser.o $(test_libs) -test_message_header_parser_DEPENDENCIES = message-header-parser.o $(test_libs) +test_message_header_parser_LDADD = message-header-parser.lo $(test_libs) +test_message_header_parser_DEPENDENCIES = message-header-parser.lo $(test_libs) test_message_parser_SOURCES = test-message-parser.c -test_message_parser_LDADD = message-parser.o message-header-parser.o message-size.o rfc822-parser.o rfc2231-parser.o $(test_libs) -test_message_parser_DEPENDENCIES = message-parser.o message-header-parser.o message-size.o rfc822-parser.o rfc2231-parser.o $(test_libs) +test_message_parser_LDADD = message-parser.lo message-header-parser.lo message-size.lo rfc822-parser.lo rfc2231-parser.lo $(test_libs) +test_message_parser_DEPENDENCIES = message-parser.lo message-header-parser.lo message-size.lo rfc822-parser.lo rfc2231-parser.lo $(test_libs) test_rfc2231_parser_SOURCES = test-rfc2231-parser.c -test_rfc2231_parser_LDADD = rfc2231-parser.o rfc822-parser.o $(test_libs) -test_rfc2231_parser_DEPENDENCIES = rfc2231-parser.o rfc822-parser.o $(test_libs) +test_rfc2231_parser_LDADD = rfc2231-parser.lo rfc822-parser.lo $(test_libs) +test_rfc2231_parser_DEPENDENCIES = rfc2231-parser.lo rfc822-parser.lo $(test_libs) check: check-am check-test check-test: $(test_programs)