[BACK]Return to Makefile CVS log [TXT][DIR] Up to [local] / src / usr.bin / gprof

File: [local] / src / usr.bin / gprof / Makefile (download)

Revision 1.20, Fri Jul 5 21:29:51 2013 UTC (10 years, 11 months ago) by miod
Branch: MAIN
CVS Tags: OPENBSD_5_4_BASE, OPENBSD_5_4
Changes since 1.19: +1 -6 lines

ELF_TOOLCHAIN bye bye.

#	$OpenBSD: Makefile,v 1.20 2013/07/05 21:29:51 miod Exp $

.include <bsd.own.mk>

TARGET_MACHINE_ARCH?=	${MACHINE_ARCH}
TARGET_MACHINE_CPU?=	${MACHINE_CPU}

PROG=	gprof
SRCS=	gprof.c arcs.c dfn.c lookup.c ${TARGET_MACHINE_CPU}.c hertz.c \
	printgprof.c printlist.c
CFLAGS+= -I. -DMD_INCLUDE=\"${TARGET_MACHINE_CPU}.h\"

SRCS+=elf.c

beforeinstall:
	${INSTALL} ${INSTALL_COPY} -o ${BINOWN} -g ${BINGRP} -m 444 \
	    ${.CURDIR}/gprof.flat ${.CURDIR}/gprof.callg \
	    ${DESTDIR}/usr/share/misc

.include <bsd.prog.mk>