From: Joel Becker <Joel.Becker@oracle.com>
To: cluster-devel.redhat.com
Subject: [Cluster-devel] [PATCH] Add --without-$subsystem support in toplevel configure/Makefile
Date: Thu, 20 Sep 2007 15:48:45 -0700 [thread overview]
Message-ID: <20070920224845.GA3490@tasint.org> (raw)
In-Reply-To: <46F2F14F.2040908@ubuntu.com>
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
cman/lib.
USERLAND = cman-lib ccs cman dlm group fence gfs gfs2 gnbd rgmanager
all: $(USERLAND)
$(USERLAND):
[ -n "${without_$@}" || ${MAKE} -C $(patsubst -,/,$@) all
cman-lib:
ccs: cman-lib
cman: ccs
dlm:
group: ccs dlm
fence: group dlm
gfs:
gfs2:
gnbd: cman-lib
rgmanager: ccs dlm
--
Life's Little Instruction Book #30
"Never buy a house without a fireplace."
Joel Becker
Principal Software Developer
Oracle
E-mail: joel.becker at oracle.com
Phone: (650) 506-8127
prev parent reply other threads:[~2007-09-20 22:48 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-09-20 21:47 [Cluster-devel] [PATCH] Add --without-$subsystem support in toplevel configure/Makefile Fabio Massimo Di Nitto
2007-09-20 22:08 ` Joel Becker
2007-09-20 22:16 ` Fabio Massimo Di Nitto
2007-09-20 22:48 ` Joel Becker [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20070920224845.GA3490@tasint.org \
--to=joel.becker@oracle.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.