From owner-cvs-all@FreeBSD.ORG Thu Feb 19 14:15:17 2004 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 522EB16A4CE; Thu, 19 Feb 2004 14:15:17 -0800 (PST) Received: from smtp4.server.rpi.edu (smtp4.server.rpi.edu [128.113.2.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0CDC343D1F; Thu, 19 Feb 2004 14:15:17 -0800 (PST) (envelope-from drosih@rpi.edu) Received: from [128.113.24.47] (gilead.netel.rpi.edu [128.113.24.47]) by smtp4.server.rpi.edu (8.12.8/8.12.8) with ESMTP id i1JMFEHQ028528; Thu, 19 Feb 2004 17:15:14 -0500 Mime-Version: 1.0 X-Sender: drosih@mail.rpi.edu Message-Id: In-Reply-To: <20040219.144228.91313152.imp@bsdimp.com> References: <20040219134104.GB14981@ip.net.ua> <200402191248.19870.jhb@FreeBSD.org> <20040219.144228.91313152.imp@bsdimp.com> Date: Thu, 19 Feb 2004 17:15:13 -0500 To: "M. Warner Losh" From: Garance A Drosihn Content-Type: text/plain; charset="us-ascii" ; format="flowed" X-Scanned-By: CanIt (www . canit . ca) cc: cvs-src@FreeBSD.org cc: src-committers@FreeBSD.org cc: cvs-all@FreeBSD.org Subject: Re: cvs commit: src Makefile X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Feb 2004 22:15:17 -0000 At 2:42 PM -0700 2/19/04, M. Warner Losh wrote: >In message: <200402191248.19870.jhb@FreeBSD.org> > John Baldwin writes: >: If /usr/obj is a symlink it should stay that way so that a >: user doesn't have to relink it every time. Using /* is >: probably the best approach. > >This will remove *ALL* object trees, not just the one that is >generated from the current source tree. I've already mentioned this to John, but his comment implied that ${.OBJDIR} == /usr/obj, and that is not true. It is MAKEOBJDIRPREFIX which defaults to /usr/obj, and that will result in an ${.OBJDIR) of /usr/obj/usr/src. However, it is also true that there are times that I have created /usr/obj/usr/src as a symlink, or have mounted a partition on top of it. So, it is true that I explicitly do not want the target to remove the ${.OBJDIR} directory. -- Garance Alistair Drosehn = gad@gilead.netel.rpi.edu Senior Systems Programmer or gad@freebsd.org Rensselaer Polytechnic Institute or drosih@rpi.edu