1
0
mirror of https://github.com/openbsd/src.git synced 2025-01-10 06:47:55 -08:00

introduce explicit MAKE_FLAGS variable, which has no surprising behavior

dependent on make, and fixes the regress problem reported by David Krause.
This commit is contained in:
espie 2005-02-05 10:39:50 +00:00
parent 59b0bdc67a
commit 1466cb1b42
2 changed files with 5 additions and 4 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.18 2004/07/20 06:25:40 david Exp $
# $OpenBSD: Makefile,v 1.19 2005/02/05 10:39:50 espie Exp $
#
# To run full regression tests you just need two steps:
@ -31,7 +31,7 @@ _REGRESS_CLEAN=exit 0
.else
_REGRESS_CLEAN=rm -f ${_REGRESS_TMP}
.endif
.MAKEFLAGS+= _REGRESS_TMP=${_REGRESS_TMP}
MAKE_FLAGS+= _REGRESS_TMP=${_REGRESS_TMP}
.INTERRUPT:
${_REGRESS_CLEAN}

View File

@ -1,4 +1,4 @@
# $OpenBSD: bsd.subdir.mk,v 1.13 2005/01/19 18:01:51 espie Exp $
# $OpenBSD: bsd.subdir.mk,v 1.14 2005/02/05 10:39:50 espie Exp $
# $NetBSD: bsd.subdir.mk,v 1.11 1996/04/04 02:05:06 jtc Exp $
# @(#)bsd.subdir.mk 5.9 (Berkeley) 2/1/91
@ -42,6 +42,7 @@ _SUBDIRUSE: .USE
cd ${.CURDIR}/$${_newdir_}; \
${MAKE} SKIPDIR="$${subskipdir}" \
$${_makefile_spec_} _THISDIR_="$${_nextdir_}" \
${MAKE_FLAGS} \
${.TARGET:S/realinstall/install/:S/.depend/depend/}; \
fi); \
done
@ -58,7 +59,7 @@ ${SUBDIR}::
fi; \
echo "===> $${_newdir_}"; \
cd ${.CURDIR}/$${_newdir_}; \
${MAKE} $${_makefile_spec_} _THISDIR_="$${_newdir_}" all
${MAKE} ${MAKE_FLAGS} $${_makefile_spec_} _THISDIR_="$${_newdir_}" all
.endif
.if !target(install)