Fix gprof build

* Makefile.am (.m.c): Fix input and output file specification.
This commit is contained in:
Alan Modra 2013-11-02 17:08:44 +10:30
parent cacce40b2d
commit b6254dfcc2
3 changed files with 8 additions and 4 deletions

View file

@ -1,3 +1,7 @@
2013-11-02 Alan Modra <amodra@gmail.com>
* Makefile.am (.m.c): Fix input and output file specification.
2013-10-09 Nick Clifton <nickc@redhat.com>
PR gprof/16027

View file

@ -66,9 +66,9 @@ CONFIG_STATUS_DEPENDENCIES = $(BFDDIR)/configure.in
%.o:%.m
.m.c:
awk -f $(srcdir)/gen-c-prog.awk > ./$*.c \
awk -f $(srcdir)/gen-c-prog.awk > $@ \
FUNCTION=`(echo $*|sed -e 's,.*/,,g' -e 's/_bl//')`_blurb \
FILE=$*.m $(srcdir)/$*.m
FILE=$*.m $<
POTFILES = $(sources) $(noinst_HEADERS)
po/POTFILES.in: @MAINT@ Makefile

View file

@ -1042,9 +1042,9 @@ diststuff: $(BUILT_SOURCES) info $(man_MANS)
%.o:%.m
.m.c:
awk -f $(srcdir)/gen-c-prog.awk > ./$*.c \
awk -f $(srcdir)/gen-c-prog.awk > $@ \
FUNCTION=`(echo $*|sed -e 's,.*/,,g' -e 's/_bl//')`_blurb \
FILE=$*.m $(srcdir)/$*.m
FILE=$*.m $<
po/POTFILES.in: @MAINT@ Makefile
for f in $(POTFILES); do echo $$f; done | LC_ALL=C sort > tmp \
&& mv tmp $(srcdir)/po/POTFILES.in