diff options
Diffstat (limited to 'lib/libc/gmon/Makefile.inc')
-rw-r--r-- | lib/libc/gmon/Makefile.inc | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/lib/libc/gmon/Makefile.inc b/lib/libc/gmon/Makefile.inc new file mode 100644 index 0000000..a264d09 --- /dev/null +++ b/lib/libc/gmon/Makefile.inc @@ -0,0 +1,17 @@ +# from @(#)Makefile.inc 8.1 (Berkeley) 6/4/93 +# $Id$ + +# gmon sources +.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 + cp mcount.o mcount.po |