aboutsummaryrefslogtreecommitdiff
path: root/lib/libc/gmon/Makefile.inc
blob: 2fcad36ae7e4677ba03715a81158f5818d03c871 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#	from @(#)Makefile.inc	8.1 (Berkeley) 6/4/93
#	$Id: Makefile.inc,v 1.3.2.1 1997/06/24 03:51:31 julian Exp $

# 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