From owner-cvs-all Thu Oct 25 10:47:24 2001 Delivered-To: cvs-all@freebsd.org Received: from dragon.nuxi.com (trang.nuxi.com [66.92.13.169]) by hub.freebsd.org (Postfix) with ESMTP id 0E6AB37B407; Thu, 25 Oct 2001 10:47:18 -0700 (PDT) Received: (from obrien@localhost) by dragon.nuxi.com (8.11.6/8.11.1) id f9PHlH301270; Thu, 25 Oct 2001 10:47:17 -0700 (PDT) (envelope-from obrien) Date: Thu, 25 Oct 2001 10:47:17 -0700 From: "David O'Brien" To: Ruslan Ermilov Cc: Bruce Evans , cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sbin/conscontrol Makefile Message-ID: <20011025104717.A1211@dragon.nuxi.com> Reply-To: obrien@FreeBSD.org References: <200110251709.f9PH9bD60901@freefall.freebsd.org> <20011025201245.L41293@sunbay.com> <20011025102152.B31465@dragon.nuxi.com> <20011025203843.B54744@sunbay.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20011025203843.B54744@sunbay.com>; from ru@FreeBSD.org on Thu, Oct 25, 2001 at 08:38:43PM +0300 X-Operating-System: FreeBSD 5.0-CURRENT Organization: The NUXI BSD group X-Pgp-Rsa-Fingerprint: B7 4D 3E E9 11 39 5F A3 90 76 5D 69 58 D9 98 7A X-Pgp-Rsa-Keyid: 1024/34F9F9D5 Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Thu, Oct 25, 2001 at 08:38:43PM +0300, Ruslan Ermilov wrote: > > Actually that is not right. "products" come first. This means PROG and > > MAN are above SRCS and CFLAGS. There is CSRG precedence for this (I > > believe I emailed you it in the past). > > > > Please revert this back to rev 1.3. > > > No. Most of the other WARNSified makefiles use that style. *sigh* We've been thru that. Please use usr.sbin/*/Makefile as the style guide right now. Please name which WARNSified Makefiles you are refering to. The ones I've cleaned up their style don't follow what you've done. > PROG= foo > SRCS= foo.c bar.c > CFLAGS+=-DFOO > WARNS?= 2 > MAN= foo.8 > > WARNS relates to CFLAGS. > CFLAGS relates to SRCS. > SRCS defaults to PROG and is optional. All correct, execept you need to add that MAN relates to PROG. That is what puts it right after PROG. > The prototype bsd.prog.mk makefile that doesn't use .if's may look > like this: ..snip.. Nope. Lets take this off this list as your example expands this issue a lot. > > > /me badly needs to find time for Makefile.style(7). > > You, BDE and I do need to finish that off. > Definitely. Until then, please follow usr.sbin/ -- -- David (obrien@FreeBSD.org) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message