Makefile revision 1.1
11.1Stv#	$NetBSD: Makefile,v 1.1 2002/01/10 17:04:21 tv Exp $
21.1Stv
31.1StvTIMESTAMP=	${TOOLDIR}/bin/nbhost-mkdep
41.1Stv
51.1StvCLEANFILES+=	config.cache config.log config.status host-mkdep
61.1Stv
71.1Stv.include <bsd.hostprog.mk>
81.1Stv
91.1Stvrealall: host-mkdep
101.1Stvhost-mkdep: configure host-mkdep.in
111.1Stv	-rm -f $@
121.1Stv	CC="${HOST_CC}" ${.CURDIR}/configure --cache-file=config.cache
131.1Stv
141.1Stv# This is the only program that comes before binstall.
151.1Stvinstall: ${TIMESTAMP}
161.1Stv${TIMESTAMP}: host-mkdep
171.1Stv	cp host-mkdep $@
181.1Stv	chmod +x $@
191.1Stv
201.1Stv# Run by hand, then "configure" script committed:
211.1Stvregen:
221.1Stv	cd ${.CURDIR} && ${TOOLDIR}/bin/nbautoconf
23