2002-12-08 23:19:56 +03:00
|
|
|
# $NetBSD: Makefile,v 1.6 2002/12/08 20:20:01 thorpej Exp $
|
2002-09-15 21:05:26 +04:00
|
|
|
|
|
|
|
.include <bsd.own.mk>
|
|
|
|
|
|
|
|
COMPATOBJ!= cd ${.CURDIR}/../compat && ${PRINTOBJDIR}
|
|
|
|
.-include "${COMPATOBJ}/defs.mk"
|
2001-09-22 08:15:19 +04:00
|
|
|
|
2002-12-08 23:19:56 +03:00
|
|
|
TIMESTAMP= ${TOOLDIR}/bin/${_TOOL_PREFIX}lorder
|
2001-09-22 08:15:19 +04:00
|
|
|
|
2002-09-15 21:05:26 +04:00
|
|
|
CLEANFILES+= lorder
|
|
|
|
|
2001-09-22 08:15:19 +04:00
|
|
|
.PATH: ${.CURDIR}/../../usr.bin/lorder
|
|
|
|
|
2001-09-22 09:02:13 +04:00
|
|
|
.include <bsd.hostprog.mk>
|
|
|
|
|
2001-09-22 08:15:19 +04:00
|
|
|
install: ${TIMESTAMP}
|
2002-09-15 21:05:26 +04:00
|
|
|
${TIMESTAMP}: lorder
|
2001-11-19 07:47:42 +03:00
|
|
|
${HOST_INSTALL_FILE} -m ${BINMODE} ${.ALLSRC} ${.TARGET}
|
2002-09-15 21:05:26 +04:00
|
|
|
|
|
|
|
lorder: lorder.sh
|
|
|
|
sed -e "s,/bin/sh,${HOST_BSHELL},g" < ${.ALLSRC} > ${.TARGET}
|
|
|
|
|
|
|
|
realall: lorder
|