X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;f=Makefile.am;h=a6ddbfe324ebaad13a881816e1c9ff85d732c709;hb=46d843745041d6e852be2ae57de9261ae4e5f399;hp=7d8568fdd07c5d28392b740231ce9389beafcfe9;hpb=4692445bb90e907dfb96ca05364f4a5638192eba;p=mmh diff --git a/Makefile.am b/Makefile.am index 7d8568f..a6ddbfe 100644 --- a/Makefile.am +++ b/Makefile.am @@ -51,10 +51,17 @@ TESTS = test/bad-input/test-header \ test/forw/test-forw-format \ test/inc/test-deb359167 test/inc/test-eom-align \ test/manpages/test-manpages test/mhbuild/test-forw \ - test/mhlist/test-mhlist test/mhpath/test-mhpath \ + test/mhlist/test-mhlist test/mhparam/test-mhparam \ + test/mhpath/test-mhpath \ test/mhshow/test-cte-binary test/mhshow/test-qp \ - test/mhshow/test-subpart test/new/test-basic \ + test/mhshow/test-subpart test/mhstore/test-mhstore \ + test/new/test-basic \ test/pick/test-pick test/pick/test-stderr \ + test/post/test-post-basic test/post/test-post-multiple \ + test/post/test-post-dcc test/post/test-post-fcc \ + test/post/test-post-multifrom test/post/test-post-envelope \ + test/post/test-post-group \ + test/refile/test-refile \ test/repl/test-if-str test/scan/test-scan \ test/sequences/test-flist test/sequences/test-mark \ test/whatnow/test-attach-detach test/whatnow/test-cd \ @@ -62,7 +69,7 @@ TESTS = test/bad-input/test-header \ test/cleanup ## The "cleanup" test should always be last. check_SCRIPTS = test/common.sh -check_PROGRAMS = test/getfullname +check_PROGRAMS = test/getfullname test/getfqdn test/fakesmtp ## ## Stuff that should be cleaned via "make clean" @@ -204,7 +211,8 @@ EXTRA_DIST = config/version.sh sbr/sigmsg.awk etc/mts.conf.in etc/sendfiles.in \ man/sendfiles.man man/show.man man/slocal.man man/sortm.man \ man/unseen.man man/whatnow.man man/whom.man test/README $(TESTS) \ test/inc/deb359167.mbox test/inc/fromline.txt \ - test/inc/msgheader.txt test/inc/filler.txt test/inc/md5sums + test/inc/msgheader.txt test/inc/filler.txt test/inc/md5sums \ + test/post/test-post-common.sh ## ## These are all of the definitions for each of the programs listed above. @@ -360,6 +368,12 @@ uip_viamail_SOURCES = uip/viamail.c uip/mhmisc.c uip/mhoutsbr.c uip/sendsbr.c \ test_getfullname_SOURCES = test/getfullname.c test_getfullname_LDADD = +test_getfqdn_SOURCES = test/getfqdn.c +test_getfqdn_LDADD = + +test_fakesmtp_SOURCES = test/fakesmtp.c +test_fakesmtp_LDADD = + ## ## Our rebuild rules for files that aren't built via the normal mechanisms ## @@ -374,7 +388,6 @@ etc/mts.conf: $(srcdir)/etc/mts.conf.in Makefile $(SED) -e 's,%mts%,$(MTS),' \ -e 's,%mailspool%,$(mailspool),' \ -e 's,%etcdir%,$(sysconfdir),' \ - -e 's,%masquerade%,$(masquerade),' \ -e 's,%smtpservers%,$(smtpservers),' \ < $(srcdir)/etc/mts.conf.in > $@ @@ -551,23 +564,25 @@ cscope: ## ## Use GNU gcov to find the coverage of the test suite. -## gcov and gcov-clean are not integrated into the other automake -## targets because gcov will be used so infrequently, if at all. +## These targets are not integrated into the other automake +## targets because they will be used so infrequently, if at all. ## gcov: @echo rebuilding with AM_CLFAGS=--coverage . . . @(make clean && make AM_CFLAGS=--coverage) > /dev/null && make check @for i in `find . -name '*.gcda'`; do \ - gcov -o `echo $$i | $(SED) 's%\\(.*\\)/%\\1 %'`; \ + gcov -p -o `echo $$i | $(SED) 's%\\(.*\\)/%\\1 %'`; \ done @for i in `find . -name '*.gcno'`; do \ if ! test -f `echo $$i | sed 's%\.gcno%.gcda%'`; then \ echo untested: $$i; \ fi; \ done -gcov-clean: - @find . -name '*.gcno' -o -name '*.gcda' -o -name '*.gcov' | xargs rm -.PHONY: gcov gcov-clean +gcov-mostlyclean: + @find . -name '*.gcno' -o -name '*.gcda' | xargs rm +gcov-clean: gcov-mostlyclean + @find . -name '*.gcov' | xargs rm +.PHONY: gcov gcov-mostlyclean gcov-clean ##