[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [Cluster-devel] [PATCH] Add --without-$subsystem support in toplevel configure/Makefile

On Fri, Sep 21, 2007 at 12:16:47AM +0200, Fabio Massimo Di Nitto wrote:
> Joel Becker wrote:
> > You
> > shouldn't need individual targets for each binary, etc.  But perhaps
> > that's a later pass.
> I keep them separated because I can express dependencies (not all subsystems
> need all subsystems) and it let make -j work (something that was not working
> with the old style makefiles).

Try this.  The only tricky part is the patsubst converting cman-lib to
USERLAND = cman-lib ccs cman dlm group fence gfs gfs2 gnbd rgmanager
all: $(USERLAND)

	[ -n "${without_$ }" || ${MAKE} -C $(patsubst -,/,$@) all

ccs: cman-lib
cman: ccs
group: ccs dlm
fence: group dlm
gnbd: cman-lib
rgmanager: ccs dlm


Life's Little Instruction Book #30

	"Never buy a house without a fireplace."

Joel Becker
Principal Software Developer
E-mail: joel becker oracle com
Phone: (650) 506-8127

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]