Merge from vendor branch TCPDUMP:
[dragonfly.git] / lib / libcr / 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/libcr/gmon/Attic/Makefile.inc,v 1.3 2003/07/24 21:41:48 dillon Exp $
4
5 # gmon sources
6 .PATH: ${.CURDIR}/../libcr/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