1 # $NetBSD: Makefile.parselist,v 1.6 2008/10/19 22:05:20 apb Exp $
3 # Makefile snippet to setup parselist.awk related variables:
4 # PARSELISTENV environment variables to pass to parselist.awk
5 # (may be appended to by caller)
6 # PARSELISTDEP dependency on parselist.awk
7 # PARSELIST run ${PARSELISTENV} awk -f ${PARSELISTDEP}
10 .if !defined(_MAKEFILE_PARSELIST_)
11 _MAKEFILE_PARSELIST_=1
14 PARSELISTENV+= NETBSDSRCDIR=${NETBSDSRCDIR:Q} \
15 CRUNCHBIN=${CRUNCHBIN:Q} \
17 DESTDIR=${DESTDIR:Q} \
18 DISTRIBDIR=${DISTRIBDIR:Q} \
19 MACHINE=${MACHINE:Q} \
20 MACHINE_ARCH=${MACHINE_ARCH:Q} \
24 PARSELISTDEP= ${DISTRIBDIR}/common/parselist.awk
25 PARSELIST= ${PARSELISTENV} ${TOOL_AWK} -f ${PARSELISTDEP}
28 .endif # _MAKEFILE_PARSELIST_