1999-02-03 03:15:09 +03:00
|
|
|
# $NetBSD: Makefile,v 1.4 1999/02/03 00:15:09 tv Exp $
|
1997-12-18 22:27:58 +03:00
|
|
|
|
|
|
|
TOP= ${.CURDIR}/../..
|
|
|
|
dist= ${TOP}/dist
|
|
|
|
srcdir= ${dist}/gprof
|
|
|
|
|
|
|
|
PROG= gprof
|
1999-02-03 03:15:09 +03:00
|
|
|
SRCS= basic_blocks.c call_graph.c cg_arcs.c cg_dfn.c cg_print.c core.c \
|
1997-12-18 22:27:58 +03:00
|
|
|
gmon_io.c gprof.c hertz.c hist.c source.c search_list.c symtab.c \
|
1999-02-03 03:15:09 +03:00
|
|
|
sym_ids.c utils.c flat_bl.c bsd_callg_bl.c fsf_callg_bl.c i386.c \
|
|
|
|
alpha.c vax.c tahoe.c sparc.c
|
1997-12-18 22:27:58 +03:00
|
|
|
|
1997-12-18 22:32:46 +03:00
|
|
|
.PATH: ${srcdir}
|
1997-12-18 22:27:58 +03:00
|
|
|
|
1999-02-03 03:15:09 +03:00
|
|
|
CPPFLAGS+= -I${TOP}/lib/bfd -I${dist}/bfd -I${dist}/include -I${.CURDIR}
|
1998-10-19 08:15:10 +04:00
|
|
|
CPPFLAGS+= -I${DESTDIR}/usr/include/bfd
|
1999-02-03 03:15:09 +03:00
|
|
|
CPPFLAGS+= -DHAVE_CONFIG_H
|
1997-12-18 22:27:58 +03:00
|
|
|
|
|
|
|
DPADD= ${LIBBFD}
|
|
|
|
LDADD= -lbfd
|
|
|
|
|
|
|
|
.include <bsd.prog.mk>
|