391926a4f51783c1249df47cd2e4cd3fd25f54b1
[dragonfly.git] / lib / libc / gmon / Makefile.inc
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
8 SRCS+=  gmon.c mcount.c
9
10 .if ${LIB} == "c"
11 MAN+=   moncontrol.3
12
13 MLINKS+=moncontrol.3 monstartup.3
14 .endif
15
16 # mcount cannot be compiled with profiling
17 mcount.po: mcount.o
18         cp mcount.o mcount.po