No empty .Rs/.Re
[netbsd-mini2440.git] / tools / lorder / Makefile
blobbed4ff7efd6212d7c027c78369dac63526c55379
1 # $NetBSD: Makefile,v 1.10 2008/10/07 15:10:35 apb Exp $
3 .include <bsd.own.mk>
5 COMPATOBJ!= cd ${.CURDIR}/../compat && ${PRINTOBJDIR}
6 .-include "${COMPATOBJ}/defs.mk"
8 TIMESTAMP= ${TOOLDIR}/bin/${_TOOL_PREFIX}lorder
10 CLEANFILES+= lorder
12 .PATH: ${.CURDIR}/../../usr.bin/lorder
14 .include <bsd.hostprog.mk>
16 install: ${TIMESTAMP}
17 ${TIMESTAMP}: lorder
18 ${HOST_INSTALL_FILE} -m ${BINMODE} ${.ALLSRC} ${.TARGET}
20 lorder: lorder.sh
21 ${TOOL_SED} -e "s,/bin/sh,"${HOST_BSHELL:Q}",g" \
22 -e "s,{JOIN:=.*},{JOIN:="${TOOL_JOIN:Q}"}," \
23 -e "s,{MKTEMP:=.*},{MKTEMP:="${TOOL_MKTEMP:Q}"}," \
24 -e "s,{NM:=.*},{NM:="${NM:Q}"}," \
25 -e "s,{SED:=.*},{SED:="${TOOL_SED:Q}"}," \
26 < ${.ALLSRC} > ${.TARGET}
28 realall: lorder