Home | History | Annotate | Line # | Download | only in genassym
Makefile revision 1.6
      1  1.6       apb #	$NetBSD: Makefile,v 1.6 2012/12/02 12:48:32 apb 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.6       apb .-include	"${TOOLDIR}/share/compat/defs.mk"
      8  1.2  christos 
      9  1.1   thorpej TIMESTAMP=	${TOOLDIR}/bin/${_TOOL_PREFIX}genassym
     10  1.1   thorpej 
     11  1.1   thorpej CLEANFILES+=	genassym
     12  1.1   thorpej 
     13  1.1   thorpej .include <bsd.hostprog.mk>
     14  1.1   thorpej 
     15  1.1   thorpej install: ${TIMESTAMP}
     16  1.1   thorpej ${TIMESTAMP}: genassym
     17  1.1   thorpej 	${HOST_INSTALL_FILE} -m ${BINMODE} ${.ALLSRC} ${.TARGET}
     18  1.1   thorpej 
     19  1.1   thorpej genassym: genassym.sh
     20  1.5       apb 	${TOOL_SED} -e "s,/bin/sh,${HOST_BSHELL},g" \
     21  1.4       apb 	    -e "s,{AWK:=.*},{AWK:="${TOOL_AWK:Q}"}," \
     22  1.4       apb 		< ${.ALLSRC} > ${.TARGET}
     23  1.1   thorpej 
     24  1.1   thorpej realall: genassym
     25