# $NetBSD: Makefile,v 1.26 1999/02/03 00:17:35 tv Exp $ # @(#)Makefile 8.1 (Berkeley) 6/29/93 .include # for OBJECT_FMT definition .if ((${OBJECT_FMT} == "a.out") && \ (${MACHINE_ARCH} != "i386")) || \ (${MACHINE_ARCH} == "mips") PROG= gprof .endif SRCS= gprof.c arcs.c dfn.c lookup.c ${MACHINE_ARCH}.c hertz.c \ printgprof.c printlist.c CPPFLAGS+= -D${MACHINE_ARCH} .if !defined(NOSHARE) FILES= ${.CURDIR}/gprof.flat ${.CURDIR}/gprof.callg FILESDIR=/usr/share/misc .if make(install) SUBDIR+=PSD.doc .endif .endif .include .include