Home | History | Annotate | Line # | Download | only in genassym
Makefile revision 1.7
      1  1.7  christos #	$NetBSD: Makefile,v 1.7 2018/05/01 00:04:35 christos Exp $
      2  1.1   thorpej 
      3  1.7  christos .include <bsd.init.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