From: fabbione@sourceware.org <fabbione@sourceware.org>
To: cluster-devel.redhat.com
Subject: [Cluster-devel] Cluster Project branch, master, updated. cluster-2.99.06-8-g0f4b1a9
Date: 16 Jul 2008 08:38:33 -0000 [thread overview]
Message-ID: <20080716083833.19367.qmail@sourceware.org> (raw)
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Cluster Project".
http://sources.redhat.com/git/gitweb.cgi?p=cluster.git;a=commitdiff;h=0f4b1a92d539318065e7c2d9797b53bba0a6cbcb
The branch, master has been updated
via 0f4b1a92d539318065e7c2d9797b53bba0a6cbcb (commit)
from da4f93ba9b9b1328934fa9ca86c4bd03f0e1bf76 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 0f4b1a92d539318065e7c2d9797b53bba0a6cbcb
Author: Fabio M. Di Nitto <fdinitto@redhat.com>
Date: Wed Jul 16 10:37:57 2008 +0200
[BUILD] Add ccs_test replacement when building legacy_code
Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
-----------------------------------------------------------------------
Summary of changes:
ccs/ccs_tool/Makefile | 24 ++++++++++++++++++------
1 files changed, 18 insertions(+), 6 deletions(-)
diff --git a/ccs/ccs_tool/Makefile b/ccs/ccs_tool/Makefile
index f984206..9732a15 100644
--- a/ccs/ccs_tool/Makefile
+++ b/ccs/ccs_tool/Makefile
@@ -1,10 +1,17 @@
-TARGET= ccs_tool
+TARGET1 = ccs_tool
-SBINDIRT=$(TARGET)
-
-all: depends ${TARGET}
+SBINDIRT = $(TARGET1)
include ../../make/defines.mk
+
+ifdef legacy_code
+TARGET2 = ccs_test
+SBINDIRT += $(TARGET2)
+all: depends ${TARGET1} ${TARGET2}
+else
+all: ${TARGET1}
+endif
+
include $(OBJDIR)/make/cobj.mk
include $(OBJDIR)/make/clean.mk
include $(OBJDIR)/make/install.mk
@@ -29,14 +36,19 @@ else
LDFLAGS += -L${ccslibdir} -lccs
endif
-${TARGET}: ${OBJS}
+${TARGET1}: ${OBJS}
$(CC) -o $@ $^ $(LDFLAGS)
+ifdef legacy_code
+${TARGET2}: ${TARGET1}
+ ln -sf ${TARGET1} ${TARGET2}
+
depends:
$(MAKE) -C ../libccscompat all
+endif
clean: generalclean
-.PHONY: all ${TARGET}
+.PHONY: all ${TARGET1}
-include $(OBJS:.o=.d)
hooks/post-receive
--
Cluster Project
reply other threads:[~2008-07-16 8:38 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20080716083833.19367.qmail@sourceware.org \
--to=fabbione@sourceware.org \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).