# $NetBSD: Makefile,v 1.3 2003/04/11 22:46:02 thorpej Exp $ .include TOP= ${NETBSDSRCDIR}/gnu DIST= ${TOP}/dist/toolchain .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 .if ${MKPICLIB} != "no" DPADD+= ${BFDOBJ}/libbfd_pic.a .else DPADD+= ${BFDOBJ}/libbfd.a .endif IBERTYOBJ!= cd ${TOP}/lib/libiberty && ${PRINTOBJDIR} LDADD+= -L${IBERTYOBJ} -liberty DPADD+= ${IBERTYOBJ}/libiberty.a TEXINFO= ${G_TEXINFOS} .PATH: ${DIST}/gprof .include .include