Makefile revision 1.11
11.11Sapb# $NetBSD: Makefile,v 1.11 2012/12/02 12:21:51 apb Exp $ 21.1Stv 31.6SthorpejTIMESTAMP= ${TOOLDIR}/bin/${_TOOL_PREFIX}host-mkdep 41.1Stv 51.1StvCLEANFILES+= config.cache config.log config.status host-mkdep 61.1Stv 71.1Stv.include <bsd.hostprog.mk> 81.1Stv 91.11Sapb# XXX: The configure script needs to use awk, but we can't pass 101.11Sapb# AWK=${TOOL_AWK:Q} in CONFIGURE_ENV, because TOOL_AWK is not yet 111.11Sapb# available at the time that host-mkdep is built. The configure script 121.11Sapb# will try to find some other version of awk. 131.11Sapb# 141.11SapbCONFIGURE_ENV= CC=${HOST_CC:Q} 151.10Sapb 161.1Stvrealall: host-mkdep 171.1Stvhost-mkdep: configure host-mkdep.in 181.1Stv -rm -f $@ 191.11Sapb ${CONFIGURE_ENV} \ 201.11Sapb ${HOST_SH} ${.CURDIR}/configure --cache-file=config.cache 211.7Schristos chmod +x $@ 221.1Stv 231.1Stv# This is the only program that comes before binstall. 241.1Stvinstall: ${TIMESTAMP} 251.1Stv${TIMESTAMP}: host-mkdep 261.5Stv mkdir -p ${TOOLDIR}/bin 271.5Stv cp host-mkdep $@ 281.1Stv chmod +x $@ 291.1Stv 301.1Stv# Run by hand, then "configure" script committed: 311.1Stvregen: 321.6Sthorpej cd ${.CURDIR} && ${TOOLDIR}/bin/${_TOOL_PREFIX}autoconf 33