]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - gnu/usr.bin/binutils/Makefile
MFV r349454:
[FreeBSD/FreeBSD.git] / gnu / usr.bin / binutils / Makefile
1 # $FreeBSD$
2
3 .include <src.opts.mk>
4
5 SUBDIR= libiberty \
6         libbfd \
7         libopcodes
8
9 SUBDIR.${MK_BINUTILS}+= doc
10 SUBDIR.${MK_BINUTILS}+= libbinutils
11 SUBDIR.${MK_BINUTILS}+= as
12 SUBDIR.${MK_BINUTILS}+= objdump
13
14 # When we use ld.lld as /usr/bin/ld, do not install the non-ifunc-capable
15 # GNU binutils 2.17.50 ld.
16 # Except if we are on powerpc, that needs the ld from binutils to link
17 # 32-bit binaries.
18 .if ${MK_LLD_IS_LD} == "no" || ${TARGET} == "powerpc"
19 SUBDIR.${MK_BINUTILS}+=ld
20 .endif
21
22 SUBDIR_DEPEND_libbinutils=libbfd                # for bfdver.h
23 SUBDIR_DEPEND_as=libbfd libiberty libopcodes
24 SUBDIR_DEPEND_ld=libbfd libiberty
25 SUBDIR_DEPEND_objdump=libbfd libiberty libbinutils libopcodes
26
27 .if !make(install)
28 SUBDIR_PARALLEL=
29 .endif
30
31 .include <bsd.subdir.mk>