From: Alan Modra Date: Sat, 2 Nov 2013 06:38:44 +0000 (+1030) Subject: Fix gprof build X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b6254dfcc289903d2c453733429931feb0562eb8;p=binutils-gdb.git Fix gprof build * Makefile.am (.m.c): Fix input and output file specification. --- diff --git a/gprof/ChangeLog b/gprof/ChangeLog index fc6cb9fc9dd..43dd76a6f04 100644 --- a/gprof/ChangeLog +++ b/gprof/ChangeLog @@ -1,3 +1,7 @@ +2013-11-02 Alan Modra + + * Makefile.am (.m.c): Fix input and output file specification. + 2013-10-09 Nick Clifton PR gprof/16027 diff --git a/gprof/Makefile.am b/gprof/Makefile.am index 97d8c1741ba..cdd69be4189 100644 --- a/gprof/Makefile.am +++ b/gprof/Makefile.am @@ -66,9 +66,9 @@ CONFIG_STATUS_DEPENDENCIES = $(BFDDIR)/configure.in %.o:%.m .m.c: - awk -f $(srcdir)/gen-c-prog.awk > ./$*.c \ + awk -f $(srcdir)/gen-c-prog.awk > $@ \ FUNCTION=`(echo $*|sed -e 's,.*/,,g' -e 's/_bl//')`_blurb \ - FILE=$*.m $(srcdir)/$*.m + FILE=$*.m $< POTFILES = $(sources) $(noinst_HEADERS) po/POTFILES.in: @MAINT@ Makefile diff --git a/gprof/Makefile.in b/gprof/Makefile.in index 3a5bcdc5592..76591ce9a7a 100644 --- a/gprof/Makefile.in +++ b/gprof/Makefile.in @@ -1042,9 +1042,9 @@ diststuff: $(BUILT_SOURCES) info $(man_MANS) %.o:%.m .m.c: - awk -f $(srcdir)/gen-c-prog.awk > ./$*.c \ + awk -f $(srcdir)/gen-c-prog.awk > $@ \ FUNCTION=`(echo $*|sed -e 's,.*/,,g' -e 's/_bl//')`_blurb \ - FILE=$*.m $(srcdir)/$*.m + FILE=$*.m $< po/POTFILES.in: @MAINT@ Makefile for f in $(POTFILES); do echo $$f; done | LC_ALL=C sort > tmp \ && mv tmp $(srcdir)/po/POTFILES.in