xref: /dragonfly/lib/libc/gmon/Makefile.inc (revision b40e316c)
1#	from @(#)Makefile.inc	8.1 (Berkeley) 6/4/93
2# $FreeBSD: src/lib/libc/gmon/Makefile.inc,v 1.7.2.1 2001/04/25 10:04:05 ru 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