Another attempt at fixing building gprof with gmake.

PR 2587
	* Makefile.am (SUFFIXES): Add .c.
	* Makefile.in: Regenerate.
This commit is contained in:
Nick Clifton 2019-11-14 12:11:43 +00:00
parent 4b09bb2eff
commit 63442f6a2e
3 changed files with 10 additions and 4 deletions

View File

@ -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> 2019-11-13 Nick Clifton <nickc@redhat.com>
PR 2587 PR 2587

View File

@ -21,7 +21,7 @@ AUTOMAKE_OPTIONS = foreign no-dist no-texinfo.tex info-in-builddir
ACLOCAL_AMFLAGS = -I .. -I ../config -I ../bfd ACLOCAL_AMFLAGS = -I .. -I ../config -I ../bfd
TEXINFO_TEX = ../texinfo/texinfo.tex TEXINFO_TEX = ../texinfo/texinfo.tex
SUFFIXES = .m SUFFIXES = .c .m
SUBDIRS = po SUBDIRS = po

View File

@ -439,7 +439,7 @@ top_srcdir = @top_srcdir@
AUTOMAKE_OPTIONS = foreign no-dist no-texinfo.tex info-in-builddir AUTOMAKE_OPTIONS = foreign no-dist no-texinfo.tex info-in-builddir
ACLOCAL_AMFLAGS = -I .. -I ../config -I ../bfd ACLOCAL_AMFLAGS = -I .. -I ../config -I ../bfd
TEXINFO_TEX = ../texinfo/texinfo.tex TEXINFO_TEX = ../texinfo/texinfo.tex
SUFFIXES = .m SUFFIXES = .c .m
SUBDIRS = po SUBDIRS = po
BASEDIR = $(srcdir)/.. BASEDIR = $(srcdir)/..
BFDDIR = $(BASEDIR)/bfd BFDDIR = $(BASEDIR)/bfd
@ -481,7 +481,7 @@ all: $(BUILT_SOURCES) gconfig.h
$(MAKE) $(AM_MAKEFLAGS) all-recursive $(MAKE) $(AM_MAKEFLAGS) all-recursive
.SUFFIXES: .SUFFIXES:
.SUFFIXES: .m .c .dvi .lo .o .obj .ps .SUFFIXES: .c .m .dvi .lo .o .obj .ps
am--refresh: Makefile am--refresh: Makefile
@: @:
$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) $(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. # This empty rule is a hack against gmake patched by Apple.
%.o:%.m %.o:%.m
.m.c: .c.m:
awk -f $(srcdir)/gen-c-prog.awk > $@ \ awk -f $(srcdir)/gen-c-prog.awk > $@ \
FUNCTION=`(echo $*|sed -e 's,.*/,,g' -e 's/_bl//')`_blurb \ FUNCTION=`(echo $*|sed -e 's,.*/,,g' -e 's/_bl//')`_blurb \
FILE=$*.m $< FILE=$*.m $<