From owner-freebsd-current Mon Sep 16 16:49:01 1996 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id QAA20830 for current-outgoing; Mon, 16 Sep 1996 16:49:01 -0700 (PDT) Received: from eel.dataplex.net (eel.dataplex.net [208.2.87.2]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id QAA20824 for ; Mon, 16 Sep 1996 16:48:57 -0700 (PDT) Received: from [208.2.87.4] (cod [208.2.87.4]) by eel.dataplex.net (8.7.5/8.7.3) with SMTP id SAA08120; Mon, 16 Sep 1996 18:47:35 -0500 (CDT) X-Sender: rkw@eel.dataplex.net Message-Id: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Date: Mon, 16 Sep 1996 18:47:37 -0500 To: Steven Wallace From: rkw@dataplex.net (Richard Wackerbarth) Subject: Re: Object directory changes to make Cc: current@freebsd.org Sender: owner-current@freebsd.org X-Loop: FreeBSD.org Precedence: bulk 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}