Date: Wed, 17 Sep 2003 00:59:22 -0700 From: Marcel Moolenaar <marcel@xcllnt.net> To: Poul-Henning Kamp <phk@phk.freebsd.dk> Cc: arch@freebsd.org Subject: Re: make(1): adding sort modifiers Message-ID: <20030917075922.GA16024@dhcp01.pn.xcllnt.net> In-Reply-To: <24225.1063782072@critter.freebsd.dk> References: <20030917065127.GB4261@athlon.pn.xcllnt.net> <24225.1063782072@critter.freebsd.dk>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030917075922.GA16024>