1998-11-07 20:52:19 +03:00
|
|
|
# $NetBSD: Makefile,v 1.25 1998/11/07 17:52:19 jonathan Exp $
|
1995-04-19 11:15:50 +04:00
|
|
|
# @(#)Makefile 8.1 (Berkeley) 6/29/93
|
1993-03-31 21:24:07 +04:00
|
|
|
|
1998-02-23 13:09:31 +03:00
|
|
|
.include <bsd.own.mk> # for OBJECT_FMT definition
|
|
|
|
|
1998-11-07 20:52:19 +03:00
|
|
|
.if (${OBJECT_FMT} == "a.out") || (${MACHINE_ARCH} == "mips")
|
1993-03-31 21:24:07 +04:00
|
|
|
PROG= gprof
|
1998-02-23 04:03:25 +03:00
|
|
|
.endif
|
|
|
|
|
1993-12-06 08:28:34 +03:00
|
|
|
SRCS= gprof.c arcs.c dfn.c lookup.c ${MACHINE_ARCH}.c hertz.c \
|
1993-03-31 21:24:07 +04:00
|
|
|
printgprof.c printlist.c
|
1997-10-24 13:00:17 +04:00
|
|
|
CPPFLAGS+= -D${MACHINE_ARCH}
|
1993-03-31 21:24:07 +04:00
|
|
|
|
1998-09-27 21:22:03 +04:00
|
|
|
.if !defined(NOSHARE)
|
1997-03-25 00:57:01 +03:00
|
|
|
FILES= ${.CURDIR}/gprof.flat ${.CURDIR}/gprof.callg
|
|
|
|
FILESDIR=/usr/share/misc
|
1993-03-31 21:24:07 +04:00
|
|
|
|
1994-06-30 09:33:30 +04:00
|
|
|
.if make(install)
|
1997-10-11 13:34:07 +04:00
|
|
|
SUBDIR+=PSD.doc
|
1994-06-25 09:57:47 +04:00
|
|
|
.endif
|
1998-09-27 21:22:03 +04:00
|
|
|
.endif
|
1994-06-25 09:57:47 +04:00
|
|
|
|
1993-03-31 21:24:07 +04:00
|
|
|
.include <bsd.prog.mk>
|
1997-10-11 13:34:07 +04:00
|
|
|
.include <bsd.subdir.mk>
|