freebsd-dev/lib/libc/gmon/Makefile.inc

22 lines
466 B
PHP
Raw Normal View History

# from @(#)Makefile.inc 8.1 (Berkeley) 6/4/93
1999-08-28 00:22:10 +00:00
# $FreeBSD$
1994-05-27 05:00:24 +00:00
# gmon sources
.PATH: ${.CURDIR}/gmon
1994-05-27 05:00:24 +00:00
SRCS+= gmon.c mcount.c
2001-03-27 17:27:19 +00:00
MAN+= moncontrol.3
MLINKS+=moncontrol.3 monstartup.3
1994-05-27 05:00:24 +00:00
.if ${MACHINE_ARCH} == amd64
# mcount needs to be compiled with frame pointers and without profiling
mcount.po: mcount.c
${CC} ${CFLAGS} -fno-omit-frame-pointer -c ${.IMPSRC} -o ${.TARGET}
.else
1994-05-27 05:00:24 +00:00
# mcount cannot be compiled with profiling
mcount.po: mcount.o
cp mcount.o mcount.po
.endif