From owner-freebsd-hackers Wed Nov 20 21: 2:25 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 37A4737B401 for ; Wed, 20 Nov 2002 21:02:24 -0800 (PST) Received: from natto.numachi.com (natto.numachi.com [198.175.254.216]) by mx1.FreeBSD.org (Postfix) with SMTP id 50AF943E3B for ; Wed, 20 Nov 2002 21:02:23 -0800 (PST) (envelope-from reichert@numachi.com) Received: (qmail 93638 invoked by uid 1001); 21 Nov 2002 05:02:16 -0000 Date: Thu, 21 Nov 2002 00:02:16 -0500 From: Brian Reichert To: hackers@freebsd.org Subject: seeking clarification of makefile rules 'safe' with -j Message-ID: <20021121000216.H82833@numachi.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I'm crunching out some complex 'make' rules , and am having a brain fart as to what sorts of rules are safe to use with '-j'. As a matter of example, I'm looking at /usr/share/mk/sys.mk under 4.5-RELEASE: # XXX not -j safe .y.out: ${YACC} ${YFLAGS} ${.IMPSRC} ${CC} ${CFLAGS} ${LDFLAGS} y.tab.c ${LDLIBS} -ly -o ${.TARGET} rm -f y.tab.c .l.out: ${LEX} -t ${LFLAGS} ${.IMPSRC} > ${.PREFIX}.tmp.c ${CC} ${CFLAGS} ${LDFLAGS} ${.PREFIX}.tmp.c ${LDLIBS} -ll -o ${.TARGET} rm -f ${.PREFIX}.tmp.c Why is the .y.out target annotated as 'not -j safe', but the next target is? -- Brian 'you Bastard' Reichert 37 Crystal Ave. #303 Daytime number: (603) 434-6842 Derry NH 03038-1713 USA Intel architecture: the left-hand path To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message