NetBSD/tools/lorder/Makefile
thorpej c4a72b6436 Centralize the definition of the tool name prefix (i.e. "nb") into
bsd.own.mk, as the _TOOL_PREFIX variable.
2002-12-08 20:19:56 +00:00

24 lines
510 B
Makefile

# $NetBSD: Makefile,v 1.6 2002/12/08 20:20:01 thorpej Exp $
.include <bsd.own.mk>
COMPATOBJ!= cd ${.CURDIR}/../compat && ${PRINTOBJDIR}
.-include "${COMPATOBJ}/defs.mk"
TIMESTAMP= ${TOOLDIR}/bin/${_TOOL_PREFIX}lorder
CLEANFILES+= lorder
.PATH: ${.CURDIR}/../../usr.bin/lorder
.include <bsd.hostprog.mk>
install: ${TIMESTAMP}
${TIMESTAMP}: lorder
${HOST_INSTALL_FILE} -m ${BINMODE} ${.ALLSRC} ${.TARGET}
lorder: lorder.sh
sed -e "s,/bin/sh,${HOST_BSHELL},g" < ${.ALLSRC} > ${.TARGET}
realall: lorder