Remove building with NOCRYPTO option
[minix3.git] / tools / lorder / Makefile
blob30f107e3c05107eb1cae7ebd3f05b2a44ad96e98
1 # $NetBSD: Makefile,v 1.12 2012/12/02 12:48:33 apb Exp $
3 .include <bsd.own.mk>
5 .-include "${TOOLDIR}/share/compat/defs.mk"
7 TIMESTAMP= ${TOOLDIR}/bin/${_TOOL_PREFIX}lorder
9 CLEANFILES+= lorder
11 .PATH: ${.CURDIR}/../../usr.bin/lorder
13 .include <bsd.hostprog.mk>
15 install: ${TIMESTAMP}
16 ${TIMESTAMP}: lorder
17 ${HOST_INSTALL_FILE} -m ${BINMODE} ${.ALLSRC} ${.TARGET}
19 lorder: lorder.sh
20 ${TOOL_SED} -e "s,/bin/sh,"${HOST_BSHELL:Q}",g" \
21 -e "s,{JOIN:=.*},{JOIN:="${TOOL_JOIN:Q}"}," \
22 -e "s,{MKTEMP:=.*},{MKTEMP:="${TOOL_MKTEMP:Q}"}," \
23 -e "s,{NM:=.*},{NM:="${NM:Q}"}," \
24 -e "s,{SED:=.*},{SED:="${TOOL_SED:Q}"}," \
25 < ${.ALLSRC} > ${.TARGET}
27 realall: lorder