From owner-freebsd-questions@FreeBSD.ORG Tue Sep 20 09:09:57 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C7F5016A41F; Tue, 20 Sep 2005 09:09:57 +0000 (GMT) (envelope-from stenn@ntp.isc.org) Received: from ntp1.ntp.isc.org (ntp1.ntp.isc.org [204.152.184.126]) by mx1.FreeBSD.org (Postfix) with ESMTP id 941B243D5A; Tue, 20 Sep 2005 09:09:56 +0000 (GMT) (envelope-from stenn@ntp.isc.org) Received: from localhost (localhost [127.0.0.1]) by ntp1.ntp.isc.org (Postfix) with ESMTP id 14D5F39AD2; Tue, 20 Sep 2005 09:09:56 +0000 (UTC) (envelope-from stenn@ntp1.isc.org) Received: from ntp1.ntp.isc.org ([127.0.0.1]) by localhost (ntp1.isc.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 37826-09; Tue, 20 Sep 2005 09:09:51 +0000 (UTC) Received: from ntp1.isc.org (localhost [127.0.0.1]) by ntp1.ntp.isc.org (Postfix) with ESMTP; Tue, 20 Sep 2005 09:09:51 +0000 (UTC) (envelope-from stenn@ntp1.isc.org) To: Harti Brandt In-Reply-To: Message from Harti Brandt of "Tue, 20 Sep 2005 10:45:49 +0200." <20050920102845.E754@beagle.kn.op.dlr.de> X-Mailer: MH-E 7.4.2; nmh 1.0.4; XEmacs 21.4 (patch 14) Mime-Version: 1.0 (generated by tm-edit 1.8) Content-Type: text/plain; charset=US-ASCII Date: Tue, 20 Sep 2005 09:09:51 +0000 From: Harlan Stenn X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on ntp1.isc.org Message-Id: <20050920090956.14D5F39AD2@ntp1.ntp.isc.org> Cc: Harlan Stenn , Giorgos Keramidas , freebsd-questions@freebsd.org Subject: Re: gmake/make dependency problem X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Sep 2005 09:09:58 -0000 Harti, I guess it depends on your definition of a "source" file. I think of a Makefile in terms of "target" and "dependency" files. Automake makes it easy to build a package in the source tree (in which case the "source" file is in the same directory as the object files) or in a separate build/object tree. Under gmake the behavior is consistent. Under (at least FreeBSD's) (p)make, the behavior is not consistent. The example I face is no different that a system that uses lex and yacc (in the case where the distribution provides generated .c and .h files). Does a POSIX spec cover this case? Thanks... H