NetBSD/gnu/usr.bin/binutils/gprof/Makefile
lukem 0ac69ffac4 - use NETBSDSRCDIR as appropriate
- makefile lint (moving NOxx to top of file,
  include <bsd.own.mk> as necessary, ...)
2002-09-19 03:09:31 +00:00

31 lines
638 B
Makefile

# $NetBSD: Makefile,v 1.2 2002/09/19 03:09:33 lukem Exp $
.include <bsd.own.mk>
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
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>