From 253a23950d9ced1f4640d072f8b5579c7b4b24b6 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Tue, 25 Apr 2006 16:20:47 +0000 Subject: [PATCH] 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. --- gprof/ChangeLog | 7 +++++++ gprof/Makefile.am | 3 +++ gprof/Makefile.in | 5 ++++- 3 files changed, 14 insertions(+), 1 deletion(-) diff --git a/gprof/ChangeLog b/gprof/ChangeLog index 0259d8af808..76092417aa6 100644 --- a/gprof/ChangeLog +++ b/gprof/ChangeLog @@ -1,3 +1,10 @@ +2006-04-25 Masaki Muranaka + + 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 * configure: Regenerate. diff --git a/gprof/Makefile.am b/gprof/Makefile.am index 1b862675353..a79912f0da7 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 328a3da48d7..fcebab1dffb 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 \ -- 2.30.2