30 lines
634 B
Makefile
30 lines
634 B
Makefile
# $NetBSD: Makefile,v 1.1 2001/08/06 19:59:39 tv Exp $
|
|
|
|
TOP= ${.CURDIR}/../../..
|
|
DIST= ${TOP}/dist/toolchain
|
|
|
|
.include <bsd.own.mk>
|
|
.include "${.CURDIR}/arch/${MACHINE_ARCH}/defs.mk"
|
|
|
|
PROG= gprof
|
|
SRCS= ${G_gprof_OBJECTS:.o=.c}
|
|
CPPFLAGS+= -I${.CURDIR}/arch/${MACHINE_ARCH}
|
|
|
|
LDADD= -lintl
|
|
DPADD= ${LIBINTL}
|
|
|
|
BFDOBJ!= cd ${TOP}/lib/libbfd && ${PRINTOBJDIR}
|
|
LDADD+= -L${BFDOBJ} -lbfd
|
|
DPADD+= ${BFDOBJ}/libbfd_pic.a
|
|
|
|
IBERTYOBJ!= cd ${TOP}/lib/libiberty && ${PRINTOBJDIR}
|
|
LDADD+= -L${IBERTYOBJ} -liberty
|
|
DPADD+= ${IBERTYOBJ}/libiberty.a
|
|
|
|
TEXINFO= ${G_TEXINFOS}
|
|
|
|
.PATH: ${DIST}/gprof
|
|
|
|
.include <bsd.prog.mk>
|
|
.include <bsd.info.mk>
|