Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Sep 1996 13:30:21 +1000
From:      Bruce Evans <bde@zeta.org.au>
To:        bde@zeta.org.au, swallace@ece.uci.edu
Cc:        freebsd-current@freebsd.org
Subject:   Re: Object directory changes to make
Message-ID:  <199609180330.NAA17448@godzilla.zeta.org.au>

next in thread | raw e-mail | index | archive | help
>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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199609180330.NAA17448>