FAQ Search Today's Posts Mark Forums Read

» Linux Archive
Home
New Posts
Search
FAQ


Go Back   Linux Archive > Redhat > Cluster Development

 
 
LinkBack Thread Tools
 
Old 07-16-2008, 09:38 AM
 
Default Cluster Project branch, master, updated. cluster-2.99.06-8-g0f4b1a9

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=0f4b1a92d5 39318065e7c2d9797b53bba0a6cbcb

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
 

Thread Tools




All times are GMT. The time now is 07:42 AM.

VBulletin, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org