1#
| 1#
|
2# $FreeBSD: head/gnu/usr.bin/binutils/as/Makefile 53152 1999-11-14 13:54:44Z marcel $
| 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.
| 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__MA!=/sbin/sysctl -b hw.machine_arch 12.if ${__MA} == ${MACHINE_ARCH}
| 11.if ${TARGET_ARCH} == ${MACHINE_ARCH}
|
13.if defined(CROSS_ARCH) 14.for _g in ${CROSS_ARCH} 15.if (${GASES:R:M${_g:R}} == "") 16GASES+=$(_g) 17.endif 18.endfor 19.endif 20.if defined(CROSS_FORMATS) 21.for _f in ${CROSS_FORMATS} 22.if (${FORMATS:R:M${_f:R}} == "") 23FORMATS+=$(_f) 24.endif 25.endfor 26.endif 27.endif 28 29.for _g in ${GASES} 30.for _f in ${FORMATS} 31.if exists(${.CURDIR}/${_g}-${_f}) 32SUBDIR+= ${_g}-${_f} 33.endif 34.endfor 35.endfor 36 37.include <bsd.subdir.mk>
| 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>
|