2003-11-14 09:00:34 +03:00
|
|
|
# $NetBSD: Makefile.parselist,v 1.5 2003/11/14 06:00:34 matt 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
|
2003-11-14 09:00:34 +03:00
|
|
|
PARSELIST= ${PARSELISTENV} ${AWK} -f ${PARSELISTDEP}
|
2002-04-12 05:59:45 +04:00
|
|
|
|
2003-03-11 10:18:38 +03:00
|
|
|
|
|
|
|
.endif # _MAKEFILE_PARSELIST_
|