1 # $NetBSD: Makefile,v 1.9 2003/10/26 07:25:38 lukem Exp $
3 TIMESTAMP
= ${TOOLDIR}/bin
/${_TOOL_PREFIX}host-mkdep
5 CLEANFILES
+= config.cache config.log config.status host-mkdep
7 .
include <bsd.hostprog.mk
>
9 # When host-mkdep is built, TOOL_AWK is not yet available, so we do not
10 # pass AWK=${TOOL_AWK:Q} to configure; we allow configure to find awk
11 # for itself (or complain if it can't find awk).
14 host-mkdep
: configure host-mkdep.in
16 CC
=${HOST_CC
:Q
} ${HOST_SH} ${.CURDIR
}/configure
--cache-file
=config.cache
19 # This is the only program that comes before binstall.
21 ${TIMESTAMP}: host-mkdep
22 mkdir
-p
${TOOLDIR}/bin
26 # Run by hand, then "configure" script committed:
28 cd
${.CURDIR
} && ${TOOLDIR}/bin
/${_TOOL_PREFIX}autoconf