Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Sep 1996 18:47:37 -0500
From:      rkw@dataplex.net (Richard Wackerbarth)
To:        Steven Wallace <swallace@ece.uci.edu>
Cc:        current@freebsd.org
Subject:   Re: Object directory changes to make
Message-ID:  <v02140b00ae6394985166@[208.2.87.4]>

next in thread | raw e-mail | index | archive | help
Steven --
If I understand the changes that you are making,

I HAVE VERY STRONG OBJECTIONS !

I am working hard at setting up an improved build scheme which does not
follow the limited uses which you have considered.

It appears that I will no longer be able to set the object directory to the
desired location because it is neither directly related to the entire `cwd`
nor does it end in "obj".

In particular, I need to be able to parse the path

{PREFIX}/src/{BRANCH}/file.c
and put the resulting object in
{PERHAPS_ANOTHER_PREFIX}/obj/{BRANCH}/file.o

As I understand it, your scheme will not permit this.

I still recomend consideration of some scheme that passes a "rule template"
rather than using any set of fixed rules. Only the "default rule" needs to
be built-in".

>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 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`
>${.CURDIR}
>
>If it IS set, then the order is
>${MAKEOBJDIRPREFIX}`cwd`
>${.CURDIR}





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