From owner-freebsd-current Tue Sep 17 20:43:40 1996 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id UAA17915 for current-outgoing; Tue, 17 Sep 1996 20:43:40 -0700 (PDT) Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.2.228.19]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id UAA17768 for ; Tue, 17 Sep 1996 20:43:18 -0700 (PDT) Received: (from bde@localhost) by godzilla.zeta.org.au (8.6.12/8.6.9) id NAA17448; Wed, 18 Sep 1996 13:30:21 +1000 Date: Wed, 18 Sep 1996 13:30:21 +1000 From: Bruce Evans Message-Id: <199609180330.NAA17448@godzilla.zeta.org.au> To: bde@zeta.org.au, swallace@ece.uci.edu Subject: Re: Object directory changes to make Cc: freebsd-current@freebsd.org Sender: owner-current@freebsd.org X-Loop: FreeBSD.org Precedence: bulk >I have made more changes to make and the makefiles as per our >previous discussion. Bruce, will you look over ~swallace/work/make >and ~swallace/work/mk once more before I commit? The seem to be essentially OK. The objwarn changes seem to be a bit too decentalized. Did you try putting them on the `all' target? Please recover the description of MAKEOBJDIR from an old version. Oops, its semantics has changed. The .${MACHINE} suffix previously didn't apply to it (the same path was bogusly search twice). Please fix this. >The object directory searching goes as follows. If the env var >MAKEOBJDIRPREFIX is not set, then it's > >${.CURDIR}/obj.`uname -m` >$(.CURDIR}/obj >${MAKEOBJDIRPREFIX}`cwd` ^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/obj`cwd` (/usr/obj = default MAXKOBJDIRPREFIX) >${.CURDIR} Also, if MAKEOBJDIRPREFIX is not set, but MAKEOBJDIR is set, then the path is: ${MAKEOBJDIR}.`uname -m` # shouldn't search here ${MAKEOBJDIR} /usr/obj`cwd` # shouldn't search here ${.CURDIR} >If it IS set, then the order is >${MAKEOBJDIRPREFIX}`cwd` >${.CURDIR} Also, MAKEOBJDIRPREFIX has priority over MAKEOBJDIR if both are set. Bruce