diff options
author | Nick Clifton <nickc@redhat.com> | 2019-11-14 12:11:43 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2019-11-14 12:11:43 +0000 |
commit | 63442f6a2eff9f4c5c67099565f59c0f135aff94 (patch) | |
tree | 85ab23521393d3a7edfa33e46c98b41db9d55b72 | |
parent | 4b09bb2eff20913fe5057b50b9509eecf14f4877 (diff) | |
download | gdb-63442f6a2eff9f4c5c67099565f59c0f135aff94.zip gdb-63442f6a2eff9f4c5c67099565f59c0f135aff94.tar.gz gdb-63442f6a2eff9f4c5c67099565f59c0f135aff94.tar.bz2 |
Another attempt at fixing building gprof with gmake.
PR 2587
* Makefile.am (SUFFIXES): Add .c.
* Makefile.in: Regenerate.
-rw-r--r-- | gprof/ChangeLog | 6 | ||||
-rw-r--r-- | gprof/Makefile.am | 2 | ||||
-rw-r--r-- | gprof/Makefile.in | 6 |
3 files changed, 10 insertions, 4 deletions
diff --git a/gprof/ChangeLog b/gprof/ChangeLog index 53921bd..52b966b 100644 --- a/gprof/ChangeLog +++ b/gprof/ChangeLog @@ -1,3 +1,9 @@ +2019-11-14 Nick Clifton <nickc@redhat.com> + + PR 2587 + * Makefile.am (SUFFIXES): Add .c. + * Makefile.in: Regenerate. + 2019-11-13 Nick Clifton <nickc@redhat.com> PR 2587 diff --git a/gprof/Makefile.am b/gprof/Makefile.am index 0d87ca8..74c8ac8 100644 --- a/gprof/Makefile.am +++ b/gprof/Makefile.am @@ -21,7 +21,7 @@ AUTOMAKE_OPTIONS = foreign no-dist no-texinfo.tex info-in-builddir ACLOCAL_AMFLAGS = -I .. -I ../config -I ../bfd TEXINFO_TEX = ../texinfo/texinfo.tex -SUFFIXES = .m +SUFFIXES = .c .m SUBDIRS = po diff --git a/gprof/Makefile.in b/gprof/Makefile.in index 451fe95..9100a8d 100644 --- a/gprof/Makefile.in +++ b/gprof/Makefile.in @@ -439,7 +439,7 @@ top_srcdir = @top_srcdir@ AUTOMAKE_OPTIONS = foreign no-dist no-texinfo.tex info-in-builddir ACLOCAL_AMFLAGS = -I .. -I ../config -I ../bfd TEXINFO_TEX = ../texinfo/texinfo.tex -SUFFIXES = .m +SUFFIXES = .c .m SUBDIRS = po BASEDIR = $(srcdir)/.. BFDDIR = $(BASEDIR)/bfd @@ -481,7 +481,7 @@ all: $(BUILT_SOURCES) gconfig.h $(MAKE) $(AM_MAKEFLAGS) all-recursive .SUFFIXES: -.SUFFIXES: .m .c .dvi .lo .o .obj .ps +.SUFFIXES: .c .m .dvi .lo .o .obj .ps am--refresh: Makefile @: $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) @@ -1171,7 +1171,7 @@ diststuff: $(BUILT_SOURCES) info $(man_MANS) # This empty rule is a hack against gmake patched by Apple. %.o:%.m -.m.c: +.c.m: awk -f $(srcdir)/gen-c-prog.awk > $@ \ FUNCTION=`(echo $*|sed -e 's,.*/,,g' -e 's/_bl//')`_blurb \ FILE=$*.m $< |