1 1.10 apb # $NetBSD: Makefile,v 1.10 2008/10/19 22:05:23 apb Exp $ 2 1.1 tv 3 1.6 thorpej TIMESTAMP= ${TOOLDIR}/bin/${_TOOL_PREFIX}host-mkdep 4 1.1 tv 5 1.1 tv CLEANFILES+= config.cache config.log config.status host-mkdep 6 1.1 tv 7 1.1 tv .include <bsd.hostprog.mk> 8 1.1 tv 9 1.10 apb # When host-mkdep is built, TOOL_AWK is not yet available, so we do not 10 1.10 apb # pass AWK=${TOOL_AWK:Q} to configure; we allow configure to find awk 11 1.10 apb # for itself (or complain if it can't find awk). 12 1.10 apb 13 1.1 tv realall: host-mkdep 14 1.1 tv host-mkdep: configure host-mkdep.in 15 1.1 tv -rm -f $@ 16 1.9 lukem CC=${HOST_CC:Q} ${HOST_SH} ${.CURDIR}/configure --cache-file=config.cache 17 1.7 christos chmod +x $@ 18 1.1 tv 19 1.1 tv # This is the only program that comes before binstall. 20 1.1 tv install: ${TIMESTAMP} 21 1.1 tv ${TIMESTAMP}: host-mkdep 22 1.5 tv mkdir -p ${TOOLDIR}/bin 23 1.5 tv cp host-mkdep $@ 24 1.1 tv chmod +x $@ 25 1.1 tv 26 1.1 tv # Run by hand, then "configure" script committed: 27 1.1 tv regen: 28 1.6 thorpej cd ${.CURDIR} && ${TOOLDIR}/bin/${_TOOL_PREFIX}autoconf 29