diff options
Diffstat (limited to 'lib/libc/gmon/Makefile.inc')
-rw-r--r-- | lib/libc/gmon/Makefile.inc | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/lib/libc/gmon/Makefile.inc b/lib/libc/gmon/Makefile.inc index 959c3fb..a264d09 100644 --- a/lib/libc/gmon/Makefile.inc +++ b/lib/libc/gmon/Makefile.inc @@ -1,10 +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 -MAN3+= moncontrol.0 + +# 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 |