1 1.6 thorpej # $NetBSD: Makefile,v 1.6 2002/12/08 20:20:01 thorpej 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.1 tv realall: host-mkdep 10 1.1 tv host-mkdep: configure host-mkdep.in 11 1.1 tv -rm -f $@ 12 1.2 tv CC=${HOST_CC:Q} CFLAGS=${HOST_CFLAGS:Q} LDFLAGS=${HOST_LDFLAGS:Q} \ 13 1.2 tv ${.CURDIR}/configure --cache-file=config.cache 14 1.1 tv 15 1.1 tv # This is the only program that comes before binstall. 16 1.1 tv install: ${TIMESTAMP} 17 1.1 tv ${TIMESTAMP}: host-mkdep 18 1.5 tv mkdir -p ${TOOLDIR}/bin 19 1.5 tv cp host-mkdep $@ 20 1.1 tv chmod +x $@ 21 1.1 tv 22 1.1 tv # Run by hand, then "configure" script committed: 23 1.1 tv regen: 24 1.6 thorpej cd ${.CURDIR} && ${TOOLDIR}/bin/${_TOOL_PREFIX}autoconf 25