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