Home | History | Annotate | Line # | Download | only in genassym
Makefile revision 1.3
      1  1.3   thorpej #	$NetBSD: Makefile,v 1.3 2005/06/05 18:19:53 thorpej Exp $
      2  1.1   thorpej 
      3  1.1   thorpej .include <bsd.own.mk>
      4  1.1   thorpej 
      5  1.3   thorpej .PATH.sh:	${.CURDIR}/../../usr.bin/genassym
      6  1.2  christos 
      7  1.1   thorpej COMPATOBJ!=	cd ${.CURDIR}/../compat && ${PRINTOBJDIR}
      8  1.1   thorpej .-include	"${COMPATOBJ}/defs.mk"
      9  1.1   thorpej 
     10  1.2  christos 
     11  1.1   thorpej TIMESTAMP=	${TOOLDIR}/bin/${_TOOL_PREFIX}genassym
     12  1.1   thorpej 
     13  1.1   thorpej CLEANFILES+=	genassym
     14  1.1   thorpej 
     15  1.1   thorpej .include <bsd.hostprog.mk>
     16  1.1   thorpej 
     17  1.1   thorpej install: ${TIMESTAMP}
     18  1.1   thorpej ${TIMESTAMP}: genassym
     19  1.1   thorpej 	${HOST_INSTALL_FILE} -m ${BINMODE} ${.ALLSRC} ${.TARGET}
     20  1.1   thorpej 
     21  1.1   thorpej genassym: genassym.sh
     22  1.1   thorpej 	sed -e "s,/bin/sh,${HOST_BSHELL},g" < ${.ALLSRC} > ${.TARGET}
     23  1.1   thorpej 
     24  1.1   thorpej realall: genassym
     25