aboutsummaryrefslogtreecommitdiff
path: root/gprof
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2006-04-25 16:20:47 +0000
committerNick Clifton <nickc@redhat.com>2006-04-25 16:20:47 +0000
commit253a23950d9ced1f4640d072f8b5579c7b4b24b6 (patch)
tree0f23f2a247c68b27a36db904ace625a3f85b24c6 /gprof
parent395fa56f0f2dadce73ce6bdefec80a3581d13590 (diff)
downloadfsf-binutils-gdb-253a23950d9ced1f4640d072f8b5579c7b4b24b6.zip
fsf-binutils-gdb-253a23950d9ced1f4640d072f8b5579c7b4b24b6.tar.gz
fsf-binutils-gdb-253a23950d9ced1f4640d072f8b5579c7b4b24b6.tar.bz2
PR 2587
* Makefile.am: Add empty rule for .m -> .o build in order to work around bug in gmake shipped by Apple. * Makefile.in: Regenerate.
Diffstat (limited to 'gprof')
-rw-r--r--gprof/ChangeLog7
-rw-r--r--gprof/Makefile.am3
-rw-r--r--gprof/Makefile.in5
3 files changed, 14 insertions, 1 deletions
diff --git a/gprof/ChangeLog b/gprof/ChangeLog
index 0259d8a..7609241 100644
--- a/gprof/ChangeLog
+++ b/gprof/ChangeLog
@@ -1,3 +1,10 @@
+2006-04-25 Masaki Muranaka <monaka@monami-software.com>
+
+ PR 2587
+ * Makefile.am: Add empty rule for .m -> .o build in order to work
+ around bug in gmake shipped by Apple.
+ * Makefile.in: Regenerate.
+
2006-04-19 Alan Modra <amodra@bigpond.net.au>
* configure: Regenerate.
diff --git a/gprof/Makefile.am b/gprof/Makefile.am
index 1b86267..a79912f 100644
--- a/gprof/Makefile.am
+++ b/gprof/Makefile.am
@@ -39,6 +39,9 @@ EXTRA_DIST = $(BUILT_SOURCES) bbconv.pl $(man_MANS)
diststuff: $(BUILT_SOURCES) info $(man_MANS)
+# This empty rule is a hack against gmake patched by Apple.
+%.o:%.m
+
.m.c:
awk -f $(srcdir)/gen-c-prog.awk > ./$*.c \
FUNCTION=`(echo $*|sed -e 's,.*/,,g' -e 's/_bl//')`_blurb \
diff --git a/gprof/Makefile.in b/gprof/Makefile.in
index 328a3da..fcebab1 100644
--- a/gprof/Makefile.in
+++ b/gprof/Makefile.in
@@ -393,7 +393,7 @@ distclean-libtool:
else \
rc=$$?; \
cd $(srcdir) && \
- $$restore $$backupdir/* `echo "./$@" | sed 's|[^/]*$$||'`; \
+ $$restore $$backupdir/* `echo "$@" | sed 's|[^/]*$$||'`; \
fi; \
rm -rf $$backupdir; exit $$rc
@@ -799,6 +799,9 @@ uninstall-man: uninstall-man1
diststuff: $(BUILT_SOURCES) info $(man_MANS)
+# this empry rule is a hack against gmake patched by Apple.
+%.o:%.m
+
.m.c:
awk -f $(srcdir)/gen-c-prog.awk > ./$*.c \
FUNCTION=`(echo $*|sed -e 's,.*/,,g' -e 's/_bl//')`_blurb \