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