1 # $NetBSD: Makefile,v 1.4 2008/10/19 22:05:23 apb Exp $
5 .PATH.sh
: ${.CURDIR
}/..
/..
/usr.bin
/genassym
7 COMPATOBJ
!= cd
${.CURDIR
}/..
/compat
&& ${PRINTOBJDIR}
8 .
-include "${COMPATOBJ}/defs.mk"
11 TIMESTAMP
= ${TOOLDIR}/bin
/${_TOOL_PREFIX}genassym
15 .
include <bsd.hostprog.mk
>
18 ${TIMESTAMP}: genassym
19 ${HOST_INSTALL_FILE} -m
${BINMODE} ${.ALLSRC
} ${.TARGET
}
22 ${TOOL_SED} -e
"s,/bin/sh,${HOST_BSHELL},g" \
23 -e
"s,{AWK:=.*},{AWK:="${TOOL_AWK
:Q
}"}," \
24 < ${.ALLSRC
} > ${.TARGET
}