- CTAGS, ETAGS, SCOPE variables can be set via configure.
- - new option "no-dist-built-sources" skips generating $(BUILT_SOURCES)
+ - Silent make output for custom link commands.
+
+ - New option "no-dist-built-sources" skips generating $(BUILT_SOURCES)
before building the tarball as part of "make dist", that is,
omits the dependency of $(distdir): $(BUILT_SOURCES).
Nicholas Wourms nwourms@netscape.net
Nick Bowler nbowler@elliptictech.com
Nick Brown brownn@brocade.com
+Nick Gasson nick@nickg.me.uk
Nicola Fontana ntd@entidi.it
Nicolas Joly njoly@pasteur.fr
Nicolas Thiery nthiery@Icare.mines.edu
my ($linker, $target) = @_;
# If the user wrote a custom link command, we don't define ours.
- return "${target}_LINK"
- if set_seen "${target}_LINK";
+ my $custom_link = "${target}_LINK";
+ if (set_seen ($custom_link))
+ {
+ my $verbose = $custom_link if var (verbose_var ($custom_link));
+ return ($custom_link, $verbose);
+ }
my $xlink = $linker ? $linker : 'LINK';
@code{_CFLAGS}, @code{_LDFLAGS} or @code{_LIBTOOLFLAGS}, in cases where
they apply.
+If the variable @code{AM_V_*_LINK} exists, it is used to output a
+status line in silent mode; otherwise, @code{AM_V_GEN} is used.
+
@item maude_CCASFLAGS
@itemx maude_CFLAGS
@itemx maude_CPPFLAGS
foo_LINK = $(LINK)
bar_LINK = $(LINK)
bar_LDFLAGS = $(AM_LDFLAGS)
+baz_LINK = $(LINK)
+AM_V_baz_LINK = xyz
END
$ACLOCAL
grep '^ *bar_LINK *=.*bar_LDFLAGS' Makefile.in && exit 1
grep '.\$(bar_LINK).*bar' Makefile.in
+# Silent make rules should use AM_V_GEN unless overriden.
+grep '.\$(AM_V_GEN)\$(foo_LINK)' Makefile.in
+grep '.\$(AM_V_baz_LINK)\$(baz_LINK)' Makefile.in
+grep '.\$(AM_V_GEN)\$(baz_LINK)' Makefile.in && exit 1
+
exit 0