aboutsummaryrefslogtreecommitdiff
path: root/lib/libc/gmon
diff options
context:
space:
mode:
authorJohn Birrell <jb@FreeBSD.org>1997-05-03 03:50:06 +0000
committerJohn Birrell <jb@FreeBSD.org>1997-05-03 03:50:06 +0000
commit870039320ffbf6d3defd48faa288bb650ca2a1cb (patch)
treeedfa5ba030406429c7a12970ea64bcf2ea32a909 /lib/libc/gmon
parent85351f7d5aac0bff601c4dc0a6aa7f035685a306 (diff)
Notes
Diffstat (limited to 'lib/libc/gmon')
-rw-r--r--lib/libc/gmon/Makefile.inc9
1 files changed, 7 insertions, 2 deletions
diff --git a/lib/libc/gmon/Makefile.inc b/lib/libc/gmon/Makefile.inc
index 57dc29364566..a264d0956df6 100644
--- a/lib/libc/gmon/Makefile.inc
+++ b/lib/libc/gmon/Makefile.inc
@@ -1,11 +1,16 @@
-# @(#)Makefile.inc 8.1 (Berkeley) 6/4/93
+# from @(#)Makefile.inc 8.1 (Berkeley) 6/4/93
+# $Id$
# gmon sources
-.PATH: ${.CURDIR}/gmon
+.PATH: ${.CURDIR}/../libc/gmon
SRCS+= gmon.c mcount.c
+
+# Only build man pages with libc.
+.if ${LIB} == "c"
MAN3+= gmon/moncontrol.3
MLINKS+= moncontrol.3 monstartup.3
+.endif
# mcount cannot be compiled with profiling
mcount.po: mcount.o