From owner-freebsd-bugs Fri Feb 22 11:40:20 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id D9EE337B41A for ; Fri, 22 Feb 2002 11:40:02 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g1MJe2p72517; Fri, 22 Feb 2002 11:40:02 -0800 (PST) (envelope-from gnats) Date: Fri, 22 Feb 2002 11:40:02 -0800 (PST) Message-Id: <200202221940.g1MJe2p72517@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Jens Schweikhardt Subject: Re: bin/11114: make(1) does not work as documented with .POSIX: target Reply-To: Jens Schweikhardt Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org The following reply was made to PR bin/11114; it has been noted by GNATS. From: Jens Schweikhardt To: "Crist J. Clark" Cc: bug-followup@freebsd.org Subject: Re: bin/11114: make(1) does not work as documented with .POSIX: target Date: Fri, 22 Feb 2002 20:28:50 +0100 Crist, On Wed, Feb 20, 2002 at 08:23:16AM -0800, Crist J. Clark wrote: # The issue here is that the .POSIX target will not have its effect # until the makefile containing it is read. /usr/share/mk/sys.mk is the # first file read. make(1) doesn't know about anything that you have set # in your makefile yet. # # I have no idea if that is a bug or feature. What do the standards say # (if anything)? The POSIX 2001 Standard defines the behavior of make and mandates that the macros have the following values, when .POSIX: is specified as the first noncomment line and without prerequisites and commands: MAKE=make AR=ar ARFLAGS=-rv YACC=yacc YFLAGS= LEX=lex LFLAGS= LDFLAGS= CC=c99 CFLAGS=-O FC=fort77 FFLAGS=-O 1 GET=get GFLAGS= SCCSFLAGS= SCCSGETFLAGS=-a Regards, Jens -- Jens Schweikhardt http://www.schweikhardt.net/ SIGSIG -- signature too long (core dumped) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message