[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.4

1.4     ! lukem       1: #      $NetBSD: Makefile.parselist,v 1.3 2003/03/11 07:18:38 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
                     25: PARSELIST=     ${PARSELISTENV} awk -f ${PARSELISTDEP}
                     26:
1.3       lukem      27:
                     28: .endif # _MAKEFILE_PARSELIST_

CVSweb <webmaster@jp.NetBSD.org>