From owner-cvs-all@FreeBSD.ORG Mon Aug 9 06:18:22 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 7B46716A4CE; Mon, 9 Aug 2004 06:18:22 +0000 (GMT) Received: from numeri.campus.luth.se (numeri.campus.luth.se [130.240.197.103]) by mx1.FreeBSD.org (Postfix) with ESMTP id CCEC743D1F; Mon, 9 Aug 2004 06:18:21 +0000 (GMT) (envelope-from k@numeri.campus.luth.se) Received: from numeri.campus.luth.se (localhost [127.0.0.1]) i796IJbk053454; Mon, 9 Aug 2004 08:18:19 +0200 (CEST) (envelope-from k@numeri.campus.luth.se) Received: (from k@localhost) by numeri.campus.luth.se (8.12.11/8.12.11/Submit) id i796IIfC053453; Mon, 9 Aug 2004 08:18:18 +0200 (CEST) (envelope-from k) Date: Mon, 9 Aug 2004 08:18:17 +0200 From: Johan Karlsson To: Jun Kuriyama Message-ID: <20040809061817.GA53369@numeri.campus.luth.se> References: <200408031856.i73IuV8c082723@repoman.freebsd.org> <7mllgolwsk.wl@black.imgsrc.co.jp> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <7mllgolwsk.wl@black.imgsrc.co.jp> User-Agent: Mutt/1.4.2.1i cc: cvs-src@FreeBSD.org cc: src-committers@FreeBSD.org cc: Hartmut Brandt cc: cvs-all@FreeBSD.org Subject: Re: cvs commit: src/usr.bin/make Makefile main.c nonints.h var.c 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: Mon, 09 Aug 2004 06:18:22 -0000 On Mon, Aug 09, 2004 at 14:12 (+0900), Jun Kuriyama wrote: > At Tue, 3 Aug 2004 18:56:31 +0000 (UTC), > Hartmut Brandt wrote: > > Log: > > Put variable assignments from the command line into the MAKEFLAGS > > variable as required by POSIX. This causes such variables to be > > pushed into all sub-makes called by the make (except when the MAKEFLAGS > > variable is explicitely changed in the sub-make's environment). > > This makes them also mostly un-overrideable in sub-makes except on the > > sub-make's command line. Therefor specifying 'make CC=icc' will cause > > icc to be used as C compiler in all sub-makes no matter what the Makefiles > > itself try to do to the CC variable. > > > > This patch also corrects the handling of the MFLAGS variable. MFLAGS > > contains all the command line flags but not the command line variable > > assignments. The evaluation of the .MFLAGS or .MAKEFLAGS target now > > changes both MFLAGS and MAKEFLAGS (they used to change MAKEFLAGS only). > > Makefiles can use MFLAGS for their own purposes given that they do not > > except MFLAGS to be undefined at the beginning and that they don't evaluate > > .MFLAGS or .MAKEFLAGS. MFLAGS should be removed for POSIX compliance, > > but it is unfortunately heavily used by the X makefiles. > > I'm using MAKEOBJDIRPREFIX as a make argument to build the world. Don't. According to make(1) it is an environment variable. > Please help about new make. > > Firstly, my host environment has the latest make(1), and it is used to > start buildworld as: > > # cd /work/HEAD/src > # make MAKEOBJDIRPREFIX=/work/HEAD/obj buildworld do something like # cd /work/HEAD/src # MAKEOBJDIRPREFIX=/work/HEAD/obj make buildworld or # cd /work/HEAD/src # env MAKEOBJDIRPREFIX=/work/HEAD/obj make buildworld depending on your shell. /Johan K -- Johan Karlsson mailto:johan@FreeBSD.org