Remove building with NOCRYPTO option
[minix.git] / external / gpl3 / binutils / usr.bin / gprof / Makefile
blobaf5eb38da0a16c476cb1ce61f04ce0bb805b311f
1 # $NetBSD: Makefile,v 1.8 2013/08/05 00:08:58 matt Exp $
3 .include <bsd.own.mk>
5 TOP= ${NETBSDSRCDIR}/external/gpl3/binutils
7 .include "${.CURDIR}/../common/Makefile.inc"
8 .include "${.CURDIR}/arch/${BINUTILS_MACHINE_ARCH}/defs.mk"
10 PROG= gprof
11 SRCS= ${G_gprof_OBJECTS:.o=.c}
12 CPPFLAGS+= -I${.CURDIR}/arch/${BINUTILS_MACHINE_ARCH}
14 PROGDPLIBS+= bfd ${TOP}/${BFDSUBDIR}/libbfd
15 PROGDPLIBS+= iberty ${TOP}/${BFDSUBDIR}/libiberty
17 TEXINFO= ${G_TEXINFOS}
18 COMMONOBJDIR!= cd ${TOP}/usr.bin/common && ${PRINTOBJDIR}
19 INFOFLAGS= -I${COMMONOBJDIR} -I${DIST}/libiberty
21 gprof.info: bfdver.texi
23 .PATH: ${COMMONOBJDIR} ${DIST}/gprof
25 .include <bsd.prog.mk>
26 .include <bsd.info.mk>
28 .if !defined(__MINIX)
29 LDADD+= -lintl -lz
30 DPADD+= ${LIBINTL} ${LIBZ}
31 .else
32 LDADD+= -lz
33 DPADD+= ${LIBZ}
34 .endif # !defined(__MINIX)