minix/external/gpl3/binutils/usr.bin/gprof/Makefile
Lionel Sambuc c9ea9e7af8 Binutils: Synchronization & Gold activation
Change-Id: I5235984746178ee30b5db18e7def0016d9a0e36f
2014-07-28 17:05:11 +02:00

34 lines
800 B
Makefile

# $NetBSD: Makefile,v 1.8 2013/08/05 00:08:58 matt Exp $
.include <bsd.own.mk>
TOP= ${NETBSDSRCDIR}/external/gpl3/binutils
.include "${.CURDIR}/../common/Makefile.inc"
.include "${.CURDIR}/arch/${BINUTILS_MACHINE_ARCH}/defs.mk"
PROG= gprof
SRCS= ${G_gprof_OBJECTS:.o=.c}
CPPFLAGS+= -I${.CURDIR}/arch/${BINUTILS_MACHINE_ARCH}
PROGDPLIBS+= bfd ${TOP}/${BFDSUBDIR}/libbfd
PROGDPLIBS+= iberty ${TOP}/${BFDSUBDIR}/libiberty
TEXINFO= ${G_TEXINFOS}
COMMONOBJDIR!= cd ${TOP}/usr.bin/common && ${PRINTOBJDIR}
INFOFLAGS= -I${COMMONOBJDIR} -I${DIST}/libiberty
gprof.info: bfdver.texi
.PATH: ${COMMONOBJDIR} ${DIST}/gprof
.include <bsd.prog.mk>
.include <bsd.info.mk>
.if !defined(__MINIX)
LDADD+= -lintl -lz
DPADD+= ${LIBINTL} ${LIBZ}
.else
LDADD+= -lz
DPADD+= ${LIBZ}
.endif # !defined(__MINIX)