[BACK]Return to Makefile.parselist CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / distrib / common

Annotation of src/distrib/common/Makefile.parselist, Revision 1.5

1.5     ! matt        1: #      $NetBSD: Makefile.parselist,v 1.4 2003/03/25 23:07:29 lukem Exp $
1.1       lukem       2: #
                      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}
                      8: #
                      9:
1.3       lukem      10: .if !defined(_MAKEFILE_PARSELIST_)
                     11: _MAKEFILE_PARSELIST_=1
1.1       lukem      12:
                     13:
1.2       lukem      14: PARSELISTENV+= NETBSDSRCDIR=${NETBSDSRCDIR:Q} \
1.1       lukem      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} \
1.4       lukem      21:                MAKE=${MAKE:Q} \
1.1       lukem      22:                OBJDIR=${.OBJDIR:Q}
                     23:
                     24: PARSELISTDEP=  ${DISTRIBDIR}/common/parselist.awk
1.5     ! matt       25: PARSELIST=     ${PARSELISTENV} ${AWK} -f ${PARSELISTDEP}
1.1       lukem      26:
1.3       lukem      27:
                     28: .endif # _MAKEFILE_PARSELIST_

CVSweb <webmaster@jp.NetBSD.org>