t40c term[] count fix
[minix.git] / tools / genassym / Makefile
blob76d890912d8dcbf48c3ab9160bc6fd9ea054272b
1 # $NetBSD: Makefile,v 1.5 2008/10/25 22:15:28 apb Exp $
3 .include <bsd.own.mk>
5 .PATH.sh: ${.CURDIR}/../../usr.bin/genassym
7 COMPATOBJ!= cd ${.CURDIR}/../compat && ${PRINTOBJDIR}
8 .-include "${COMPATOBJ}/defs.mk"
11 TIMESTAMP= ${TOOLDIR}/bin/${_TOOL_PREFIX}genassym
13 CLEANFILES+= genassym
15 .include <bsd.hostprog.mk>
17 install: ${TIMESTAMP}
18 ${TIMESTAMP}: genassym
19 ${HOST_INSTALL_FILE} -m ${BINMODE} ${.ALLSRC} ${.TARGET}
21 genassym: genassym.sh
22 ${TOOL_SED} -e "s,/bin/sh,${HOST_BSHELL},g" \
23 -e "s,{AWK:=.*},{AWK:="${TOOL_AWK:Q}"}," \
24 < ${.ALLSRC} > ${.TARGET}
26 realall: genassym