gprof doesn't build from cvs
Andreas Schwab
schwab@linux-m68k.org
Thu Sep 5 09:01:00 GMT 2013
Mike Stump <mikestump@comcast.net> writes:
> diff --git a/binutils/gprof/Makefile.am b/binutils/gprof/Makefile.am
> index 97d8c17..b272771 100644
> --- a/binutils/gprof/Makefile.am
> +++ b/binutils/gprof/Makefile.am
> @@ -68,7 +68,7 @@ CONFIG_STATUS_DEPENDENCIES = $(BFDDIR)/configure.in
> .m.c:
> awk -f $(srcdir)/gen-c-prog.awk > ./$*.c \
> FUNCTION=`(echo $*|sed -e 's,.*/,,g' -e 's/_bl//')`_blurb \
> - FILE=$*.m $(srcdir)/$*.m
> + FILE=$(notdir $*.m) $(srcdir)/$(notdir $*.m)
I think you want $< instead of $(srcdir)/$*.m, and there should be no
need for $(notdir) at all.
Andreas.
--
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
More information about the Binutils
mailing list