Drop undefined macros.
[netbsd-mini2440.git] / tools / host-mkdep / Makefile
blob6be272c9ebf02c3f9df989b2dc542350690b54ec
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).
13 realall: host-mkdep
14 host-mkdep: configure host-mkdep.in
15 -rm -f $@
16 CC=${HOST_CC:Q} ${HOST_SH} ${.CURDIR}/configure --cache-file=config.cache
17 chmod +x $@
19 # This is the only program that comes before binstall.
20 install: ${TIMESTAMP}
21 ${TIMESTAMP}: host-mkdep
22 mkdir -p ${TOOLDIR}/bin
23 cp host-mkdep $@
24 chmod +x $@
26 # Run by hand, then "configure" script committed:
27 regen:
28 cd ${.CURDIR} && ${TOOLDIR}/bin/${_TOOL_PREFIX}autoconf