NetBSD/gnu/usr.bin/gprof/Makefile

23 lines
585 B
Makefile
Raw Normal View History

1999-02-03 03:15:09 +03:00
# $NetBSD: Makefile,v 1.4 1999/02/03 00:15:09 tv Exp $
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 \
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
.PATH: ${srcdir}
1999-02-03 03:15:09 +03:00
CPPFLAGS+= -I${TOP}/lib/bfd -I${dist}/bfd -I${dist}/include -I${.CURDIR}
CPPFLAGS+= -I${DESTDIR}/usr/include/bfd
1999-02-03 03:15:09 +03:00
CPPFLAGS+= -DHAVE_CONFIG_H
DPADD= ${LIBBFD}
LDADD= -lbfd
.include <bsd.prog.mk>