Makefile revision 1.10
11.10Sapb# $NetBSD: Makefile,v 1.10 2008/10/19 22:05:23 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.10Sapb# When host-mkdep is built, TOOL_AWK is not yet available, so we do not 101.10Sapb# pass AWK=${TOOL_AWK:Q} to configure; we allow configure to find awk 111.10Sapb# for itself (or complain if it can't find awk). 121.10Sapb 131.1Stvrealall: host-mkdep 141.1Stvhost-mkdep: configure host-mkdep.in 151.1Stv -rm -f $@ 161.9Slukem CC=${HOST_CC:Q} ${HOST_SH} ${.CURDIR}/configure --cache-file=config.cache 171.7Schristos chmod +x $@ 181.1Stv 191.1Stv# This is the only program that comes before binstall. 201.1Stvinstall: ${TIMESTAMP} 211.1Stv${TIMESTAMP}: host-mkdep 221.5Stv mkdir -p ${TOOLDIR}/bin 231.5Stv cp host-mkdep $@ 241.1Stv chmod +x $@ 251.1Stv 261.1Stv# Run by hand, then "configure" script committed: 271.1Stvregen: 281.6Sthorpej cd ${.CURDIR} && ${TOOLDIR}/bin/${_TOOL_PREFIX}autoconf 29