1# $OpenBSD: Makefile,v 1.21 2013/10/17 10:51:57 deraadt Exp $ 2 3.include <bsd.own.mk> 4 5TARGET_MACHINE_ARCH?= ${MACHINE_ARCH} 6TARGET_MACHINE_CPU?= ${MACHINE_CPU} 7 8PROG= gprof 9SRCS= gprof.c arcs.c dfn.c elf.c lookup.c ${TARGET_MACHINE_CPU}.c \ 10 hertz.c printgprof.c printlist.c 11CFLAGS+= -I. -DMD_INCLUDE=\"${TARGET_MACHINE_CPU}.h\" 12 13beforeinstall: 14 ${INSTALL} ${INSTALL_COPY} -o ${BINOWN} -g ${BINGRP} -m 444 \ 15 ${.CURDIR}/gprof.flat ${.CURDIR}/gprof.callg \ 16 ${DESTDIR}/usr/share/misc 17 18.include <bsd.prog.mk> 19