1e627ed78e
thread-specific gmonparam structures and then merging them before dumping the profile buffers. Written by Nathan J. Williams, contributed by Wasabi Systems, Inc.
19 lines
411 B
Makefile
19 lines
411 B
Makefile
# $NetBSD: Makefile.inc,v 1.7 2004/05/10 22:16:42 thorpej Exp $
|
|
# @(#)Makefile.inc 8.1 (Berkeley) 6/4/93
|
|
|
|
# gmon sources
|
|
.PATH: ${.CURDIR}/gmon ${ARCHDIR}/gmon
|
|
|
|
.-include "${ARCHDIR}/gmon/Makefile.inc"
|
|
|
|
SRCS+= gmon.c mcount.c
|
|
MAN+= moncontrol.3
|
|
MLINKS+=moncontrol.3 monstartup.3
|
|
|
|
# mcount and gmon cannot be compiled with profiling
|
|
mcount.po: mcount.o
|
|
cp mcount.o mcount.po
|
|
|
|
gmon.po: gmon.o
|
|
cp gmon.o gmon.po
|