coverity appeasement - redundant check
[minix.git] / external / gpl3 / binutils / usr.bin / gprof / Makefile
blob3ffa9285926a3772fcfcc6449d40b8060fb38b6b
1 # $NetBSD: Makefile,v 1.5 2009/11/10 10:24:50 skrll Exp $
3 .include <bsd.own.mk>
5 TOP= ${NETBSDSRCDIR}/external/gpl3/binutils
7 .include "${.CURDIR}/../common/Makefile.inc"
8 .include "${.CURDIR}/arch/${MACHINE_ARCH}/defs.mk"
10 PROG= gprof
11 SRCS= ${G_gprof_OBJECTS:.o=.c}
12 CPPFLAGS+= -I${.CURDIR}/arch/${MACHINE_ARCH}
14 LDADD= -lintl
15 DPADD= ${LIBINTL}
17 BFDOBJ!= cd ${TOP}/${BFDSUBDIR}/libbfd && ${PRINTOBJDIR}
18 LDADD+= -L${BFDOBJ} -lbfd
19 .if ${MKPICLIB} != "no"
20 DPADD+= ${BFDOBJ}/libbfd_pic.a
21 .else
22 DPADD+= ${BFDOBJ}/libbfd.a
23 .endif
25 IBERTYOBJ!= cd ${TOP}/${BFDSUBDIR}/libiberty && ${PRINTOBJDIR}
26 LDADD+= -L${IBERTYOBJ} -liberty
27 DPADD+= ${IBERTYOBJ}/libiberty.a
29 TEXINFO= ${G_TEXINFOS}
30 COMMONOBJDIR!= cd ${TOP}/usr.bin/common && ${PRINTOBJDIR}
31 INFOFLAGS= -I${COMMONOBJDIR} -I${DIST}/libiberty
33 gprof.info: bfdver.texi
35 .PATH: ${COMMONOBJDIR} ${DIST}/gprof
37 .include <bsd.prog.mk>
38 .include <bsd.info.mk>