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}+= objdump | SUBDIR.${MK_BINUTILS}+= objdump | ||||
# GNU as is used on x86 only, for a few files that cannot be assembled by | |||||
# Clang IAS. Other archs either use Clang IAS for every assembly file, or | |||||
# use external toolchain. | |||||
.if ${TARGET} == "amd64" || ${TARGET} == "i386" | |||||
SUBDIR.${MK_BINUTILS}+= as | |||||
.endif | |||||
# All archs except powerpc either use lld or require external toolchain. | # All archs except powerpc either use lld or require external toolchain. | ||||
# powerpc still needs binutils ld to link 32-bit binaries. | # powerpc still needs binutils ld to link 32-bit binaries. | ||||
.if ${TARGET} == "powerpc" | .if ${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 | ||||
Show All 9 Lines |