Makefile revision 52930
134495Sjdp# 250472Speter# $FreeBSD: head/gnu/usr.bin/binutils/as/Makefile 52930 1999-11-06 21:54:21Z jb $ 334495Sjdp# 434495Sjdp 544360Simp.include "${.CURDIR}/../Makefile.inc0" 644360Simp 744360SimpGASES= ${BINUTIL_ARCH} 852930Sjb 952930Sjb# Only build the cross tools when not cross-compiling. 1052930Sjb__MA!=/sbin/sysctl -b hw.machine_arch 1152930Sjb__M!=/sbin/sysctl -b hw.machine 1252930Sjb.if ${__MA} == ${MACHINE_ARCH} || ${__M} == ${MACHINE} 1352930Sjb.if defined(CROSS_ARCH) 1452930Sjb.for _g in ${CROSS_ARCH} 1552930Sjb.if (${GASES:R:M${_g:R}} == "") 1652930SjbGASES+=$(_g) 1752930Sjb.endif 1852930Sjb.endfor 1952930Sjb.endif 2052930Sjb.endif 2152930Sjb 2235720Sjb.for _g in ${GASES} 2335945Sjb.if exists(${.CURDIR}/as_${_g}) 2435720SjbSUBDIR+= as_${_g} 2535945Sjb.endif 2652930Sjb.if defined(CROSS_FORMATS) 2752930Sjb.for _f in ${CROSS_FORMATS} 2852930Sjb.if exists(${.CURDIR}/${_g}-${_f}) 2952930SjbSUBDIR+= ${_g}-${_f} 3052930Sjb.endif 3135720Sjb.endfor 3252930Sjb.endif 3352930Sjb.endfor 3434495Sjdp 3535720Sjb.include <bsd.subdir.mk> 36