Changeset View
Changeset View
Standalone View
Standalone View
head/gnu/usr.bin/binutils/Makefile
# $FreeBSD$ | # $FreeBSD$ | ||||
.include <src.opts.mk> | .include <src.opts.mk> | ||||
SUBDIR= libiberty \ | SUBDIR= libiberty \ | ||||
libbfd \ | libbfd \ | ||||
libopcodes | libopcodes | ||||
SUBDIR.${MK_BINUTILS}+= doc | SUBDIR.${MK_BINUTILS}+= doc | ||||
SUBDIR.${MK_BINUTILS}+= libbinutils | SUBDIR.${MK_BINUTILS}+= libbinutils | ||||
SUBDIR.${MK_BINUTILS}+= as | SUBDIR.${MK_BINUTILS}+= as | ||||
SUBDIR.${MK_BINUTILS}+= objdump | SUBDIR.${MK_BINUTILS}+= objdump | ||||
# When we use ld.lld as /usr/bin/ld, do not install the non-ifunc-capable | # All archs except powerpc either use lld or require external toolchain. | ||||
# GNU binutils 2.17.50 ld. | # powerpc still needs binutils ld to link 32-bit binaries. | ||||
# Except if we are on powerpc, that needs the ld from binutils to link | .if ${TARGET} == "powerpc" | ||||
# 32-bit binaries. | |||||
.if ${MK_LLD_IS_LD} == "no" || ${TARGET} == "powerpc" | |||||
SUBDIR.${MK_BINUTILS}+=ld | SUBDIR.${MK_BINUTILS}+=ld | ||||
.endif | .endif | ||||
SUBDIR_DEPEND_libbinutils=libbfd # for bfdver.h | SUBDIR_DEPEND_libbinutils=libbfd # for bfdver.h | ||||
SUBDIR_DEPEND_as=libbfd libiberty libopcodes | SUBDIR_DEPEND_as=libbfd libiberty libopcodes | ||||
SUBDIR_DEPEND_ld=libbfd libiberty | SUBDIR_DEPEND_ld=libbfd libiberty | ||||
SUBDIR_DEPEND_objdump=libbfd libiberty libbinutils libopcodes | SUBDIR_DEPEND_objdump=libbfd libiberty libbinutils libopcodes | ||||
.if !make(install) | .if !make(install) | ||||
SUBDIR_PARALLEL= | SUBDIR_PARALLEL= | ||||
.endif | .endif | ||||
.include <bsd.subdir.mk> | .include <bsd.subdir.mk> |