Deleted Added
full compact
Makefile (84908) Makefile (103780)
1# $FreeBSD: head/gnu/usr.bin/binutils/as/Makefile 84908 2001-10-14 01:47:30Z obrien $
1# $FreeBSD: head/gnu/usr.bin/binutils/as/Makefile 103780 2002-09-22 05:29:37Z obrien $
2
3.include "${.CURDIR}/../Makefile.inc0"
4
2
3.include "${.CURDIR}/../Makefile.inc0"
4
5GASES= ${BINUTIL_ARCH}
5GASES= ${TARGET_ARCH}
6FORMATS=freebsd
7
8# Only build the cross tools when not cross-compiling.
9.if ${TARGET_ARCH} == ${MACHINE_ARCH}
10.if defined(CROSS_ARCH)
11.for _g in ${CROSS_ARCH}
12.if (${GASES:R:M${_g:R}} == "")
13GASES+= $(_g)
14.endif
15.endfor
16.endif
17.if defined(CROSS_FORMATS)
18.for _f in ${CROSS_FORMATS}
19.if (${FORMATS:R:M${_f:R}} == "")
20FORMATS+= $(_f)
21.endif
22.endfor
23.endif
24.endif
25
26.for _g in ${GASES}
27.for _f in ${FORMATS}
28.if exists(${.CURDIR}/${_g}-${_f})
29SUBDIR+= ${_g}-${_f}
30.endif
31.endfor
32.endfor
33
34.include <bsd.subdir.mk>
6FORMATS=freebsd
7
8# Only build the cross tools when not cross-compiling.
9.if ${TARGET_ARCH} == ${MACHINE_ARCH}
10.if defined(CROSS_ARCH)
11.for _g in ${CROSS_ARCH}
12.if (${GASES:R:M${_g:R}} == "")
13GASES+= $(_g)
14.endif
15.endfor
16.endif
17.if defined(CROSS_FORMATS)
18.for _f in ${CROSS_FORMATS}
19.if (${FORMATS:R:M${_f:R}} == "")
20FORMATS+= $(_f)
21.endif
22.endfor
23.endif
24.endif
25
26.for _g in ${GASES}
27.for _f in ${FORMATS}
28.if exists(${.CURDIR}/${_g}-${_f})
29SUBDIR+= ${_g}-${_f}
30.endif
31.endfor
32.endfor
33
34.include <bsd.subdir.mk>