No empty .Rs/.Re
[netbsd-mini2440.git] / tools / genassym / Makefile
blobb1494dda4e264437ab935ae74448c4b92c082473
1 # $NetBSD: Makefile,v 1.4 2008/10/19 22:05:23 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