2003-08-11 23:26:04 +04:00
|
|
|
# $NetBSD: Makefile,v 1.8 2003/08/11 19:26:06 jmc Exp $
|
2002-01-10 20:04:20 +03:00
|
|
|
|
2002-12-08 23:19:56 +03:00
|
|
|
TIMESTAMP= ${TOOLDIR}/bin/${_TOOL_PREFIX}host-mkdep
|
2002-01-10 20:04:20 +03:00
|
|
|
|
|
|
|
CLEANFILES+= config.cache config.log config.status host-mkdep
|
|
|
|
|
|
|
|
.include <bsd.hostprog.mk>
|
|
|
|
|
|
|
|
realall: host-mkdep
|
|
|
|
host-mkdep: configure host-mkdep.in
|
|
|
|
-rm -f $@
|
2003-08-11 23:26:04 +04:00
|
|
|
CC=${HOST_CC:Q} sh ${.CURDIR}/configure --cache-file=config.cache
|
2003-06-06 21:30:25 +04:00
|
|
|
chmod +x $@
|
2002-01-10 20:04:20 +03:00
|
|
|
|
|
|
|
# This is the only program that comes before binstall.
|
|
|
|
install: ${TIMESTAMP}
|
|
|
|
${TIMESTAMP}: host-mkdep
|
2002-04-03 19:56:32 +04:00
|
|
|
mkdir -p ${TOOLDIR}/bin
|
|
|
|
cp host-mkdep $@
|
2002-01-10 20:04:20 +03:00
|
|
|
chmod +x $@
|
|
|
|
|
|
|
|
# Run by hand, then "configure" script committed:
|
|
|
|
regen:
|
2002-12-08 23:19:56 +03:00
|
|
|
cd ${.CURDIR} && ${TOOLDIR}/bin/${_TOOL_PREFIX}autoconf
|