2008-10-20 02:05:19 +04:00
|
|
|
# $NetBSD: Makefile.parselist,v 1.6 2008/10/19 22:05:20 apb 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}
|
|
|
|
#
|
|
|
|
|
2003-03-11 10:18:38 +03:00
|
|
|
.if !defined(_MAKEFILE_PARSELIST_)
|
|
|
|
_MAKEFILE_PARSELIST_=1
|
2002-04-12 05:59:45 +04:00
|
|
|
|
|
|
|
|
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} \
|
2003-03-26 02:07:29 +03:00
|
|
|
MAKE=${MAKE:Q} \
|
2002-04-12 05:59:45 +04:00
|
|
|
OBJDIR=${.OBJDIR:Q}
|
|
|
|
|
|
|
|
PARSELISTDEP= ${DISTRIBDIR}/common/parselist.awk
|
2008-10-20 02:05:19 +04:00
|
|
|
PARSELIST= ${PARSELISTENV} ${TOOL_AWK} -f ${PARSELISTDEP}
|
2002-04-12 05:59:45 +04:00
|
|
|
|
2003-03-11 10:18:38 +03:00
|
|
|
|
|
|
|
.endif # _MAKEFILE_PARSELIST_
|