Another attempt at fixing building gprof with gmake.
authorNick Clifton <nickc@redhat.com>
Thu, 14 Nov 2019 12:11:43 +0000 (12:11 +0000)
committerNick Clifton <nickc@redhat.com>
Thu, 14 Nov 2019 12:11:43 +0000 (12:11 +0000)
PR 2587
* Makefile.am (SUFFIXES): Add .c.
* Makefile.in: Regenerate.

gprof/ChangeLog
gprof/Makefile.am
gprof/Makefile.in

index 53921bd40182ae8eeb34c5b8d2d316854e7b65bf..52b966bb6226c9512fc2dfe2fc6d0b5146ff46cd 100644 (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>
 
        PR 2587
index 0d87ca837feb8eddf816bc4e0dc418f202bc5471..74c8ac81facf31010e25c139b92028840700512c 100644 (file)
@@ -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
 
index 451fe9585d4c0426b7ebe03e71a06ee5a7163412..9100a8dcdd054463c4e84f0d3d02d5bc4fe1bc99 100644 (file)
@@ -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 $<
This page took 0.02823 seconds and 4 git commands to generate.