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

1.3     ! lukem       1: #      $NetBSD: Makefile.parselist,v 1.2 2002/04/26 15:50:27 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} \
                     21:                OBJDIR=${.OBJDIR:Q}
                     22:
                     23: PARSELISTDEP=  ${DISTRIBDIR}/common/parselist.awk
                     24: PARSELIST=     ${PARSELISTENV} awk -f ${PARSELISTDEP}
                     25:
1.3     ! lukem      26:
        !            27: .endif # _MAKEFILE_PARSELIST_

CVSweb <webmaster@jp.NetBSD.org>