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

[Cluster-devel] 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".


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
-all: depends ${TARGET}
 include ../../make/defines.mk
+ifdef legacy_code
+TARGET2 = ccs_test
+all: depends ${TARGET1} ${TARGET2}
+all: ${TARGET1}
 include $(OBJDIR)/make/cobj.mk
 include $(OBJDIR)/make/clean.mk
 include $(OBJDIR)/make/install.mk
@@ -29,14 +36,19 @@ else
 LDFLAGS += -L${ccslibdir} -lccs
+${TARGET1}: ${OBJS}
 	$(CC) -o $@ $^ $(LDFLAGS)
+ifdef legacy_code
+	ln -sf ${TARGET1} ${TARGET2}
 	$(MAKE) -C ../libccscompat all
 clean: generalclean
-.PHONY: all ${TARGET}
+.PHONY: all ${TARGET1}
 -include $(OBJS:.o=.d)

Cluster Project

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