2002-04-26 19:50:21 +04:00
|
|
|
# $NetBSD: Makefile.parselist,v 1.2 2002/04/26 15:50:27 lukem Exp $
|
2002-04-12 05:59:45 +04:00
|
|
|
#
|
|
|
|
# Makefile snippet to setup parselist.awk related variables:
|
|
|
|
# PARSELISTENV environment variables to pass to parselist.awk
|
|
|
|
# (may be appended to by caller)
|
|
|
|
# PARSELISTDEP dependency on parselist.awk
|
|
|
|
# PARSELIST run ${PARSELISTENV} awk -f ${PARSELISTDEP}
|
|
|
|
#
|
|
|
|
|
|
|
|
.if !defined(_PARSELIST_MK_)
|
|
|
|
_PARSELIST_MK_=1
|
|
|
|
|
|
|
|
|
2002-04-26 19:50:21 +04:00
|
|
|
PARSELISTENV+= NETBSDSRCDIR=${NETBSDSRCDIR:Q} \
|
2002-04-12 05:59:45 +04:00
|
|
|
CRUNCHBIN=${CRUNCHBIN:Q} \
|
|
|
|
CURDIR=${.CURDIR:Q} \
|
|
|
|
DESTDIR=${DESTDIR:Q} \
|
|
|
|
DISTRIBDIR=${DISTRIBDIR:Q} \
|
|
|
|
MACHINE=${MACHINE:Q} \
|
|
|
|
MACHINE_ARCH=${MACHINE_ARCH:Q} \
|
|
|
|
OBJDIR=${.OBJDIR:Q}
|
|
|
|
|
|
|
|
PARSELISTDEP= ${DISTRIBDIR}/common/parselist.awk
|
|
|
|
PARSELIST= ${PARSELISTENV} awk -f ${PARSELISTDEP}
|
|
|
|
|
|
|
|
.endif # _PARSELIST_MK_
|