From owner-freebsd-arch@FreeBSD.ORG Wed Sep 17 00:59:23 2003 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8478216A4B3 for ; Wed, 17 Sep 2003 00:59:23 -0700 (PDT) Received: from ns1.xcllnt.net (209-128-86-226.BAYAREA.NET [209.128.86.226]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9D2E543FDF for ; Wed, 17 Sep 2003 00:59:22 -0700 (PDT) (envelope-from marcel@xcllnt.net) Received: from dhcp01.pn.xcllnt.net (dhcp01.pn.xcllnt.net [192.168.4.201]) by ns1.xcllnt.net (8.12.9/8.12.9) with ESMTP id h8H7xMjR004878; Wed, 17 Sep 2003 00:59:22 -0700 (PDT) (envelope-from marcel@piii.pn.xcllnt.net) Received: from dhcp01.pn.xcllnt.net (localhost [127.0.0.1]) by dhcp01.pn.xcllnt.net (8.12.9/8.12.9) with ESMTP id h8H7xMSG016036; Wed, 17 Sep 2003 00:59:22 -0700 (PDT) (envelope-from marcel@dhcp01.pn.xcllnt.net) Received: (from marcel@localhost) by dhcp01.pn.xcllnt.net (8.12.9/8.12.9/Submit) id h8H7xMUX016035; Wed, 17 Sep 2003 00:59:22 -0700 (PDT) (envelope-from marcel) Date: Wed, 17 Sep 2003 00:59:22 -0700 From: Marcel Moolenaar To: Poul-Henning Kamp Message-ID: <20030917075922.GA16024@dhcp01.pn.xcllnt.net> References: <20030917065127.GB4261@athlon.pn.xcllnt.net> <24225.1063782072@critter.freebsd.dk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <24225.1063782072@critter.freebsd.dk> User-Agent: Mutt/1.5.4i cc: arch@freebsd.org Subject: Re: make(1): adding sort modifiers X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Sep 2003 07:59:23 -0000 On Wed, Sep 17, 2003 at 09:01:12AM +0200, Poul-Henning Kamp wrote: > In message <20030917065127.GB4261@athlon.pn.xcllnt.net>, Marcel Moolenaar writes: > > > >Attached a patch that adds the functionality to make(1) to sort > >the words in a variable. With this functionality and a small > >change to bsd.subdir.mk (also attached), we automaticly have > >sorted subdirectory recursion, even though it's impossible or > >hard to do it in the makesfiles themselves. Is this too evil? > > Do we actually want to do that ? I thought we had places > where the ordering was explicit to express dependencies ? /usr/src/lib has a problem, because we do encode dependencies in the ordering, but we shouldn't really do that anyway. Dependencies should be expressed by dependency rules. Something like: SUBDIR= a b c d a: b d: a -- Marcel Moolenaar USPA: A-39004 marcel@xcllnt.net