Hello Bob, > % time gmake > gmake all-am > gmake[1]: Entering directory > `/scratch/bfriesen/build/GraphicsMagick-16-static' > gmake[1]: Leaving directory `/scratch/bfriesen/build/GraphicsMagick-16-static' > gmake 0.78s user 0.10s system 88% cpu 0.990 total > % > > Note that the messages appear to indicate that Automake does recurse > once regardless.
that's because you use BUILT_SOURCES. I think that you should drop it. You use it only for config headers; but Automake can handle headers itself, there is no need give him this hint. To be more specific: 1) When you first run configure, the config headers are generated, and probably up-to date. 2) After a build, the automatic dapendencies know that all files depend on config header, so the BUILT_SOURCES hint becomes redundant anyway. 3) If configure has to be regenerated, it is run afterwards, and then config.status is ran, so the config headers are also regenerated. Well, the above reasoning is perhaps not very clear, but there are two big reasons: 12) The Automake manual explains that BUILT_SOURCES is an ugly dirty hack. It should be used in minimal necessary doses. It shouldn't be used at all, unless absolute necessary. And: 77) If you remove it, the output will be even nicer. ;-) Just use the patch attached below. Have a nice day, Stepan
2005-08-30 Stepan Kasal <[EMAIL PROTECTED]> * Makefile.am (BUILT_SOURCES): Removed. * magick/Makefile.am (MAGICK_BUILT_SRCS): Removed, too. Index: Makefile.am =================================================================== RCS file: /GraphicsMagick/GraphicsMagick/Makefile.am,v retrieving revision 1.134 diff -u -r1.134 Makefile.am --- Makefile.am 11 May 2005 05:09:23 -0000 1.134 +++ Makefile.am 30 Aug 2005 12:46:28 -0000 @@ -37,9 +37,6 @@ $(TESTS_CLEANFILES) \ $(WAND_CLEANFILES) -BUILT_SOURCES = \ - $(MAGICK_BUILT_SRCS) - bin_PROGRAMS = \ $(UTILITIES_PGMS) Index: magick/Makefile.am =================================================================== RCS file: /GraphicsMagick/GraphicsMagick/magick/Makefile.am,v retrieving revision 1.198 diff -u -r1.198 Makefile.am --- magick/Makefile.am 14 Apr 2005 15:32:43 -0000 1.198 +++ magick/Makefile.am 30 Aug 2005 12:46:28 -0000 @@ -23,10 +23,6 @@ MAGICK_MANS = \ magick/GraphicsMagick-config.1 -MAGICK_BUILT_SRCS = \ - magick/magick_config.h \ - magick/magick_config_api.h - LIBMAGICK=magick/libGraphicsMagick.la if WITH_MODULES