1999-02-11 19:53:39 +03:00
|
|
|
# $NetBSD: Makefile,v 1.6 1999/02/11 16:58:44 tv Exp $
|
1997-12-18 22:27:58 +03:00
|
|
|
|
1999-02-09 21:35:39 +03:00
|
|
|
PROG= gprof
|
|
|
|
SRCS= basic_blocks.c call_graph.c cg_arcs.c cg_dfn.c cg_print.c \
|
|
|
|
core.c gmon_io.c gprof.c hertz.c hist.c source.c \
|
|
|
|
search_list.c symtab.c sym_ids.c utils.c flat_bl.c \
|
|
|
|
bsd_callg_bl.c fsf_callg_bl.c \
|
|
|
|
i386.c alpha.c vax.c sparc.c mips.c
|
1997-12-18 22:27:58 +03:00
|
|
|
|
1999-02-09 21:35:39 +03:00
|
|
|
CPPFLAGS+= -I${.CURDIR} -I${BFDOBJ} -I${.CURDIR}/../../lib/libbfd \
|
|
|
|
-I${DIST}/bfd -I${DIST}/include
|
|
|
|
LDADD= -L${BFDOBJ} -lbfd
|
|
|
|
DPADD= ${BFDOBJ}/libbfd_pic.a
|
1997-12-18 22:27:58 +03:00
|
|
|
|
1999-02-11 19:53:39 +03:00
|
|
|
TEXINFO= gprof.texi
|
|
|
|
|
1999-02-09 21:35:39 +03:00
|
|
|
DIST= ${.CURDIR}/../../dist
|
|
|
|
BFDOBJ!= cd ${.CURDIR}/../../lib/libbfd && ${MAKE} print-objdir
|
1997-12-18 22:27:58 +03:00
|
|
|
|
1999-02-09 21:35:39 +03:00
|
|
|
.PATH: ${DIST}/gprof
|
1997-12-18 22:27:58 +03:00
|
|
|
|
1999-02-11 19:53:39 +03:00
|
|
|
.include <bsd.info.mk>
|
1997-12-18 22:27:58 +03:00
|
|
|
.include <bsd.prog.mk>
|