From owner-cvs-all@FreeBSD.ORG Wed Aug 18 09:04:30 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 2468316A4CE; Wed, 18 Aug 2004 09:04:30 +0000 (GMT) Received: from tigra.ip.net.ua (tigra.ip.net.ua [82.193.96.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 208F143D82; Wed, 18 Aug 2004 09:04:29 +0000 (GMT) (envelope-from ru@ip.net.ua) Received: from heffalump.ip.net.ua (heffalump.ip.net.ua [82.193.96.213]) by tigra.ip.net.ua (8.12.11/8.12.11) with ESMTP id i7I94Jw4007230 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 18 Aug 2004 12:04:20 +0300 (EEST) (envelope-from ru@ip.net.ua) Received: (from ru@localhost) by heffalump.ip.net.ua (8.13.1/8.13.1) id i7I94JJJ007191; Wed, 18 Aug 2004 12:04:19 +0300 (EEST) (envelope-from ru) Date: Wed, 18 Aug 2004 12:04:19 +0300 From: Ruslan Ermilov To: Harti Brandt Message-ID: <20040818090418.GA91463@ip.net.ua> References: <200408180706.i7I763ps032344@repoman.freebsd.org> <20040818081702.GB91053@ip.net.ua> <20040818102107.S872@beagle.kn.op.dlr.de> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="fdj2RfSjLxBAspz7" Content-Disposition: inline In-Reply-To: <20040818102107.S872@beagle.kn.op.dlr.de> User-Agent: Mutt/1.5.6i X-Virus-Scanned: by amavisd-new cc: cvs-ports@freebsd.org cc: Greg Lewis cc: cvs-all@freebsd.org cc: ports-committers@freebsd.org Subject: Re: cvs commit: ports/java/jdk14 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: Wed, 18 Aug 2004 09:04:30 -0000 --fdj2RfSjLxBAspz7 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Aug 18, 2004 at 10:25:32AM +0200, Harti Brandt wrote: > On Wed, 18 Aug 2004, Ruslan Ermilov wrote: [...] > RE>2. Makefile can modify this global as necessary, either by > RE>modifying the variable directly (including adding to it, > RE>overriding it, or even undefining it with .undef), or thru > RE>the special .MAKEFLAGS macro. > ^^^^^ target (see commented out line in Makefil= e=20 > below) >=20 Also, "submakes" here and there should actually read "all programs that make executes". [...] > This is an excellent explanation. Perhaps we can put part of it into=20 > make(1)? >=20 You mean documenting the difference between .MAKEFLAGS macro and .MAKEFLAGS target? %%% Index: make.1 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /home/ncvs/src/usr.bin/make/make.1,v retrieving revision 1.78 diff -u -r1.78 make.1 --- make.1 9 Aug 2004 16:13:54 -0000 1.78 +++ make.1 18 Aug 2004 09:02:15 -0000 @@ -581,6 +581,15 @@ for all programs which .Nm executes. +By modifying the contents of the +.Va .MAKEFLAGS +variable, makefile can alter the contents of the +.Va MAKEFLAGS +environment variable made available for all programs which +.Nm +executes; compare with the +.Ic .MAKEFLAGS +special target below. .It Va MFLAGS is provided for backward compatibility and contains all the options from the @@ -1146,6 +1155,20 @@ .Fl f option will have no effect. +Flags (except for +.Fl f ) +and variable assignments specified as the source +for this target are also appended to the +.Va .MAKEFLAGS +internal variable. +Please note the difference between this target and the +.Va .MAKEFLAGS +internal variable: specifying an option or variable +assignment as the source for this target will affect +.Em both +the current makefile and all processes that +.Nm +executes. .It Ic .MFLAGS Same as above, for backward compatibility. .\" XXX: NOT YET!!!! %%% Cheers, --=20 Ruslan Ermilov ru@FreeBSD.org FreeBSD committer --fdj2RfSjLxBAspz7 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.5 (FreeBSD) iD8DBQFBIxuSqRfpzJluFF4RAjonAKCSaWyvq4aOZFSM0YI94OnpRhyAxACgjmZ2 oHSzoy9zpZ/Nx1kTebJcYEE= =E7w+ -----END PGP SIGNATURE----- --fdj2RfSjLxBAspz7--