xref: /dragonfly/lib/libc/gmon/Makefile.inc (revision cecb9aae)
1#	from @(#)Makefile.inc	8.1 (Berkeley) 6/4/93
2# $FreeBSD: src/lib/libc/gmon/Makefile.inc,v 1.12 2006/10/28 13:34:35 bde Exp $
3# $DragonFly: src/lib/libc/gmon/Makefile.inc,v 1.2 2003/06/17 04:26:42 dillon Exp $
4
5# gmon sources
6.PATH: ${.CURDIR}/../libc/gmon
7
8SRCS+=	gmon.c mcount.c
9
10.if ${LIB} == "c"
11MAN+=	moncontrol.3
12
13MLINKS+=moncontrol.3 monstartup.3
14.endif
15
16# mcount cannot be compiled with profiling
17mcount.po: mcount.o
18	cp mcount.o mcount.po
19