summaryrefslogtreecommitdiffstats
path: root/lib/csu/i386/Makefile
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1994-08-22 15:13:41 +0000
committerbde <bde@FreeBSD.org>1994-08-22 15:13:41 +0000
commite1f08fe22b12c64078a082ebbd953d199e3dd0b9 (patch)
tree7eee34eedea256cf0b6aa2a04705237aa6917f28 /lib/csu/i386/Makefile
parent1a0d91d74ffc20107ffc96a6fc5937d57b5df4c3 (diff)
downloadFreeBSD-src-e1f08fe22b12c64078a082ebbd953d199e3dd0b9.zip
FreeBSD-src-e1f08fe22b12c64078a082ebbd953d199e3dd0b9.tar.gz
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.
Diffstat (limited to 'lib/csu/i386/Makefile')
-rw-r--r--lib/csu/i386/Makefile14
1 files changed, 3 insertions, 11 deletions
diff --git a/lib/csu/i386/Makefile b/lib/csu/i386/Makefile
index 12558ea..ef1befa 100644
--- a/lib/csu/i386/Makefile
+++ b/lib/csu/i386/Makefile
@@ -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
OpenPOWER on IntegriCloud