1 # $NetBSD: Makefile,v 1.8 2013/08/05 00:08:58 matt Exp $
5 TOP
= ${NETBSDSRCDIR}/external
/gpl3
/binutils
7 .
include "${.CURDIR}/../common/Makefile.inc"
8 .
include "${.CURDIR}/arch/${BINUTILS_MACHINE_ARCH}/defs.mk"
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
>
30 DPADD
+= ${LIBINTL} ${LIBZ}
34 .
endif # !defined(__MINIX)