Home | History | Annotate | Line # | Download | only in host-mkdep
Makefile revision 1.4
      1 #	$NetBSD: Makefile,v 1.4 2002/04/03 15:41:19 christos Exp $
      2 
      3 TIMESTAMP=	${TOOLDIR}/bin/nbhost-mkdep
      4 
      5 CLEANFILES+=	config.cache config.log config.status host-mkdep
      6 
      7 .include <bsd.hostprog.mk>
      8 
      9 realall: host-mkdep
     10 host-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.
     16 install: ${TIMESTAMP}
     17 ${TIMESTAMP}: host-mkdep
     18 	if [ ! -d ${TOOLDIR}/bin ]; then \
     19 		mkdir -p ${TOOLDIR}/bin; \
     20 	fi; cp host-mkdep $@
     21 	chmod +x $@
     22 
     23 # Run by hand, then "configure" script committed:
     24 regen:
     25 	cd ${.CURDIR} && ${TOOLDIR}/bin/nbautoconf
     26