* Makefile.in (.m.c): Strip out directory name from function name.
authorKen Raeburn <raeburn@cygnus>
Tue, 21 Nov 1995 19:26:27 +0000 (19:26 +0000)
committerKen Raeburn <raeburn@cygnus>
Tue, 21 Nov 1995 19:26:27 +0000 (19:26 +0000)
gprof/ChangeLog
gprof/Makefile.in

index 3e180b742f18efbc62b2a13f89678b0b17ff799a..e8a93504b6f936f0d56546ec598bb4d1f243be65 100644 (file)
@@ -1,5 +1,8 @@
 Tue Nov 21 13:24:39 1995  Ken Raeburn  <raeburn@cygnus.com>
 
+       * Makefile.in (.m.c): Strip out directory name from function
+       name.
+
        * hist.c (scale_and_align_entries): Don't use DEFUN_VOID.  Do
        UNITS_TO_CODE adjustment unconditionally; compiler can optimize
        away zero-offset case.  Refer to scaled_addr, not aligned_addr.
index d9a6f24fe77defbef949b06eab7bd2248e11fd86..825a6566a3e0728cda38e634c35191dc8d92a42b 100644 (file)
@@ -62,7 +62,7 @@ all:  $(GEN_FILES) $(PROG)
 
 .m.c:
        awk -f $(srcdir)/gen-c-prog.awk > ./$*.c \
-           FUNCTION=`(echo $*|sed -e 's/_bl//')`_blurb \
+           FUNCTION=`(echo $*|sed -e 's,.*/,,g' -e 's/_bl//')`_blurb \
            FILE=$*.m $(srcdir)/$*.m
 
 diststuff: $(GEN_FILES) info