1 # $NetBSD: Makefile,v 1.5 2009/11/10 10:24:50 skrll Exp $
5 TOP
= ${NETBSDSRCDIR}/external
/gpl3
/binutils
7 .
include "${.CURDIR}/../common/Makefile.inc"
8 .
include "${.CURDIR}/arch/${MACHINE_ARCH}/defs.mk"
11 SRCS
= ${G_gprof_OBJECTS
:.o
=.c
}
12 CPPFLAGS
+= -I
${.CURDIR
}/arch
/${MACHINE_ARCH}
17 BFDOBJ
!= cd
${TOP}/${BFDSUBDIR}/libbfd
&& ${PRINTOBJDIR}
18 LDADD
+= -L
${BFDOBJ} -lbfd
19 .if
${MKPICLIB} != "no"
20 DPADD
+= ${BFDOBJ}/libbfd_pic.a
22 DPADD
+= ${BFDOBJ}/libbfd.a
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
>