1 # $NetBSD: Makefile,v 1.6 2012/12/02 12:48:32 apb Exp $
5 .PATH.sh
: ${.CURDIR
}/..
/..
/usr.bin
/genassym
7 .
-include "${TOOLDIR}/share/compat/defs.mk"
9 TIMESTAMP
= ${TOOLDIR}/bin
/${_TOOL_PREFIX}genassym
13 .
include <bsd.hostprog.mk
>
16 ${TIMESTAMP}: genassym
17 ${HOST_INSTALL_FILE} -m
${BINMODE} ${.ALLSRC
} ${.TARGET
}
20 ${TOOL_SED} -e
"s,/bin/sh,${HOST_BSHELL},g" \
21 -e
"s,{AWK:=.*},{AWK:="${TOOL_AWK
:Q
}"}," \
22 < ${.ALLSRC
} > ${.TARGET
}