No empty .Rs/.Re
[netbsd-mini2440.git] / distrib / common / Makefile.parselist
blob5a9b889259234633f3d9bcff7fd4366d959c6d36
1 #       $NetBSD: Makefile.parselist,v 1.5 2003/11/14 06:00:34 matt 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} \
16                 CURDIR=${.CURDIR:Q} \
17                 DESTDIR=${DESTDIR:Q} \
18                 DISTRIBDIR=${DISTRIBDIR:Q} \
19                 MACHINE=${MACHINE:Q} \
20                 MACHINE_ARCH=${MACHINE_ARCH:Q} \
21                 MAKE=${MAKE:Q} \
22                 OBJDIR=${.OBJDIR:Q}
24 PARSELISTDEP=   ${DISTRIBDIR}/common/parselist.awk
25 PARSELIST=      ${PARSELISTENV} ${TOOL_AWK} -f ${PARSELISTDEP}
28 .endif  # _MAKEFILE_PARSELIST_