xref: /freebsd-12.1/gnu/usr.bin/binutils/Makefile (revision b3d5a345)
19b7a44a6SPeter Wemm# $FreeBSD$
209ef0b3cSDavid E. O'Brien
331942939SEd Maste.include <src.opts.mk>
431942939SEd Maste
5bbb0fbdeSBaptiste DaroussinSUBDIR=	doc\
6bbb0fbdeSBaptiste Daroussin	libiberty \
71577843eSEd Maste	libbfd \
81577843eSEd Maste	libopcodes \
91577843eSEd Maste	libbinutils \
101577843eSEd Maste	as \
119ce3c6b0SEd Maste	objdump
122e280533SJohn Polstra
13*b3d5a345SEd Maste# When we use ld.lld as /usr/bin/ld, do not install the non-ifunc-capable
14*b3d5a345SEd Maste# GNU binutils 2.17.50 ld.
15*b3d5a345SEd Maste.if ${MK_LLD_IS_LD} == "no"
16*b3d5a345SEd MasteSUBDIR+=ld
17*b3d5a345SEd Maste.endif
1831942939SEd Maste
194a64d1a2SWarner LoshSUBDIR_DEPEND_libbinutils=libbfd		# for bfdver.h
204a64d1a2SWarner LoshSUBDIR_DEPEND_as=libbfd libiberty libopcodes
214a64d1a2SWarner LoshSUBDIR_DEPEND_ld=libbfd libiberty
224a64d1a2SWarner LoshSUBDIR_DEPEND_objdump=libbfd libiberty libbinutils libopcodes
23144811ccSWarner Losh
24144811ccSWarner Losh.if !make(install)
25144811ccSWarner LoshSUBDIR_PARALLEL=
26144811ccSWarner Losh.endif
27144811ccSWarner Losh
282e280533SJohn Polstra.include <bsd.subdir.mk>
29