1# from @(#)Makefile.inc 8.1 (Berkeley) 6/4/93 2# $FreeBSD$ 3 4# gmon sources 5.PATH: ${.CURDIR}/gmon 6 7SRCS+= gmon.c mcount.c 8 9MAN+= moncontrol.3 10 11MLINKS+=moncontrol.3 monstartup.3 12 13.if ${MACHINE_ARCH} == amd64 14# mcount needs to be compiled with frame pointers and without profiling 15mcount.po: mcount.c 16 ${CC} ${CFLAGS} -fno-omit-frame-pointer -c ${.IMPSRC} -o ${.TARGET} 17.else 18# mcount cannot be compiled with profiling 19mcount.po: mcount.o 20 cp mcount.o mcount.po 21.endif 22