Makefile revision 1.2
1#	$NetBSD: Makefile,v 1.2 2002/01/21 20:04:37 tv Exp $
2
3TIMESTAMP=	${TOOLDIR}/bin/nbhost-mkdep
4
5CLEANFILES+=	config.cache config.log config.status host-mkdep
6
7.include <bsd.hostprog.mk>
8
9realall: host-mkdep
10host-mkdep: configure host-mkdep.in
11	-rm -f $@
12	CC=${HOST_CC:Q} CFLAGS=${HOST_CFLAGS:Q} LDFLAGS=${HOST_LDFLAGS:Q} \
13		${.CURDIR}/configure --cache-file=config.cache
14
15# This is the only program that comes before binstall.
16install: ${TIMESTAMP}
17${TIMESTAMP}: host-mkdep
18	cp host-mkdep $@
19	chmod +x $@
20
21# Run by hand, then "configure" script committed:
22regen:
23	cd ${.CURDIR} && ${TOOLDIR}/bin/nbautoconf
24