diff options
-rw-r--r-- | gprof/ChangeLog | 7 | ||||
-rw-r--r-- | gprof/Makefile.am | 3 | ||||
-rw-r--r-- | gprof/Makefile.in | 5 |
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 \ |