]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - gnu/usr.bin/binutils/Makefile
remove binutils ld leftovers
[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}+= objdump
12
13 # GNU as is used on x86 only, for a few files that cannot be assembled by
14 # Clang IAS. Other archs either use Clang IAS for every assembly file, or
15 # use external toolchain.
16 .if ${TARGET} == "amd64" || ${TARGET} == "i386"
17 SUBDIR.${MK_BINUTILS}+= as
18 .endif
19
20 SUBDIR_DEPEND_libbinutils=libbfd                # for bfdver.h
21 SUBDIR_DEPEND_as=libbfd libiberty libopcodes
22 SUBDIR_DEPEND_objdump=libbfd libiberty libbinutils libopcodes
23
24 .if !make(install)
25 SUBDIR_PARALLEL=
26 .endif
27
28 .include <bsd.subdir.mk>