Remove dead code. gmon stuff is now done better in libc/gmon an
<machine/profile.h>. The old version was writing an incomplete header without the profrate field that is necessary to handle the current faster profiling clock. The counters that are where the the profrate should be are usually 0 and gprof converts a profrate of 0 to hz so the old version gave times too large by a factor of profhz/hz = 10.24.
This commit is contained in:
parent
1353e8ff44
commit
459e429cab
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=2217
@ -1,9 +1,9 @@
|
||||
# from: @(#)Makefile 5.6 (Berkeley) 5/22/91
|
||||
# $Id: Makefile,v 1.8 1993/12/24 02:11:37 jkh Exp $
|
||||
# $Id: Makefile,v 1.9 1994/03/09 17:12:57 nate Exp $
|
||||
|
||||
CFLAGS+= -DLIBC_SCCS -DDYNAMIC
|
||||
OBJS= crt0.o gcrt0.o c++rt0.o
|
||||
CLEANFILES+= gmon.o moncrt0.o core a.out
|
||||
CLEANFILES+= a.out
|
||||
|
||||
all: ${OBJS}
|
||||
|
||||
@ -17,19 +17,11 @@ c++rt0.o: c++rt0.c
|
||||
@${LD} -x -r ${.TARGET}
|
||||
@mv a.out ${.TARGET}
|
||||
|
||||
moncrt0.o: crt0.c
|
||||
gcrt0.o: crt0.c
|
||||
${CC} ${CFLAGS} -c -DMCRT0 ${.ALLSRC} -o ${.TARGET}
|
||||
${LD} -x -r ${.TARGET}
|
||||
mv a.out ${.TARGET}
|
||||
|
||||
gcrt0.o: moncrt0.o gmon.o
|
||||
${LD} -x -r -o ${.TARGET} moncrt0.o gmon.o
|
||||
|
||||
gmon.o: gmon.c gmon.h
|
||||
${CC} ${CFLAGS} -c ${.IMPSRC} -o ${.TARGET}
|
||||
${LD} -x -r ${.TARGET}
|
||||
mv a.out ${.TARGET}
|
||||
|
||||
install:
|
||||
install ${COPY} -o ${BINOWN} -g ${BINGRP} -m 444 ${OBJS} \
|
||||
${DESTDIR}/usr/lib
|
||||
|
Loading…
Reference in New Issue
Block a user