binutil227: Add DF README's and local modifications.
[dragonfly.git] / gnu / usr.bin / binutils224 / as / Makefile
blobaad29ed3bcd707802cd2886490c6edb01c6a5c4a
1 .include "${.CURDIR}/../Makefile.inc0"
3 GASES= ${BINUTIL_ARCH}
4 FORMATS=dragonfly
6 # Only build the cross tools when not cross-compiling.
7 .if ${TARGET_ARCH} == ${MACHINE_ARCH}
8 .if defined(CROSS_ARCH)
9 .for _g in ${CROSS_ARCH}
10 .if (${GASES:R:M${_g:R}} == "")
11 GASES+= $(_g)
12 .endif
13 .endfor
14 .endif
15 .if defined(CROSS_FORMATS)
16 .for _f in ${CROSS_FORMATS}
17 .if (${FORMATS:R:M${_f:R}} == "")
18 FORMATS+= $(_f)
19 .endif
20 .endfor
21 .endif
22 .endif
24 .for _g in ${GASES}
25 .for _f in ${FORMATS}
26 .if exists(${.CURDIR}/${_g}-${_f})
27 SUBDIR+= ${_g}-${_f}
28 .endif
29 .endfor
30 .endfor
32 .include <bsd.subdir.mk>