From owner-svn-src-all@FreeBSD.ORG Thu Apr 24 18:19:14 2014 Return-Path: Delivered-To: svn-src-all@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 94958DE6; Thu, 24 Apr 2014 18:19:14 +0000 (UTC) Received: from mx1.stack.nl (relay02.stack.nl [IPv6:2001:610:1108:5010::104]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client CN "mailhost.stack.nl", Issuer "CA Cert Signing Authority" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 515E31C25; Thu, 24 Apr 2014 18:19:14 +0000 (UTC) Received: from snail.stack.nl (snail.stack.nl [IPv6:2001:610:1108:5010::131]) by mx1.stack.nl (Postfix) with ESMTP id 8D1F6358C63; Thu, 24 Apr 2014 20:19:11 +0200 (CEST) Received: by snail.stack.nl (Postfix, from userid 1677) id 7AA1D28497; Thu, 24 Apr 2014 20:19:11 +0200 (CEST) Date: Thu, 24 Apr 2014 20:19:11 +0200 From: Jilles Tjoelker To: Ian Lepore Subject: Re: svn commit: r263778 - in head: bin lib lib/clang sbin share/mk usr.bin usr.sbin Message-ID: <20140424181911.GA43270@stack.nl> References: <201403262230.s2QMUdH6021943@svn.freebsd.org> <20140327181245.GA69977@stack.nl> <7A86F5E9-DBE9-4D3F-B166-C02F8386B722@FreeBSD.org> <1398086131.1124.371.camel@revolution.hippie.lan> <1398363246.61646.73.camel@revolution.hippie.lan> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1398363246.61646.73.camel@revolution.hippie.lan> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: src-committers@FreeBSD.org, svn-src-all@FreeBSD.org, Dimitry Andric , svn-src-head@FreeBSD.org, "Justin T. Gibbs" , Warner Losh X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Apr 2014 18:19:14 -0000 On Thu, Apr 24, 2014 at 12:14:06PM -0600, Ian Lepore wrote: > On Thu, 2014-04-24 at 11:17 -0600, Justin T. Gibbs wrote: > > Why wouldn’t we fix these with explicit subdir dependencies (e.g: > > subdira: subdirb)? I’m pretty sure I had this working with a hacked > > up bsd.subdir.mk at a previous job, but my memory is hazy. > I couldn't think of a way to do that, because the directory itself isn't > the dependency. That is, whether one directory has a newer/older > timestamp than the other isn't a function of the build process. The > fact that someone else mentioned inserting .WAIT into the list is > something I took as a confirmation that the regular dependency mechanism > wouldn't work (so maybe I didn't think about it hard enough). You can add dependencies between the targets generated by bsd.subdir.mk: ${target}_subdir_${subdir}. This will probably be more verbose in the individual Makefiles than .WAIT, though. -- Jilles Tjoelker