aboutsummaryrefslogtreecommitdiff
path: root/gprof
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2013-11-02 17:08:44 +1030
committerAlan Modra <amodra@gmail.com>2013-11-02 17:08:44 +1030
commitb6254dfcc289903d2c453733429931feb0562eb8 (patch)
tree2e246ec9135bce36adaedf5c964b725d183757c2 /gprof
parentcacce40b2df7955f7ba7191c61099e0b7867d416 (diff)
downloadgdb-b6254dfcc289903d2c453733429931feb0562eb8.zip
gdb-b6254dfcc289903d2c453733429931feb0562eb8.tar.gz
gdb-b6254dfcc289903d2c453733429931feb0562eb8.tar.bz2
Fix gprof build
* Makefile.am (.m.c): Fix input and output file specification.
Diffstat (limited to 'gprof')
-rw-r--r--gprof/ChangeLog4
-rw-r--r--gprof/Makefile.am4
-rw-r--r--gprof/Makefile.in4
3 files changed, 8 insertions, 4 deletions
diff --git a/gprof/ChangeLog b/gprof/ChangeLog
index fc6cb9f..43dd76a 100644
--- a/gprof/ChangeLog
+++ b/gprof/ChangeLog
@@ -1,3 +1,7 @@
+2013-11-02 Alan Modra <amodra@gmail.com>
+
+ * Makefile.am (.m.c): Fix input and output file specification.
+
2013-10-09 Nick Clifton <nickc@redhat.com>
PR gprof/16027
diff --git a/gprof/Makefile.am b/gprof/Makefile.am
index 97d8c17..cdd69be 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 3a5bcdc..76591ce 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