From: nickc Date: Tue, 25 Apr 2006 16:20:47 +0000 (+0000) Subject: PR 2587 X-Git-Tag: pre-ptymaster-archetype~475 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=4d91d0303ff662c08a10c28a5eeebf52b528fded;p=pf3gnuchains%2Fpf3gnuchains4x.git 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. --- diff --git a/gprof/ChangeLog b/gprof/ChangeLog index 0259d8af80..76092417aa 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 1b86267535..a79912f0da 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 328a3da48d..fcebab1dff 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 \