Home | History | Annotate | Line # | Download | only in genassym
Makefile revision 1.5
      1  1.5       apb #	$NetBSD: Makefile,v 1.5 2008/10/25 22:15:28 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.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.5       apb 	${TOOL_SED} -e "s,/bin/sh,${HOST_BSHELL},g" \
     23  1.4       apb 	    -e "s,{AWK:=.*},{AWK:="${TOOL_AWK:Q}"}," \
     24  1.4       apb 		< ${.ALLSRC} > ${.TARGET}
     25  1.1   thorpej 
     26  1.1   thorpej realall: genassym
     27