Cluster Project branch, master, updated. gfs-kernel_0_1_22-95-gb83c377
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 b83c377a297a79e45cb7a268bdad2680f81ef4df (commit)
via 2ce223c19f4bc860d6dd2c916addff40533afb19 (commit)
from 53bfde1e82343cfa5d2c713f97372beecee60eb6 (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 b83c377a297a79e45cb7a268bdad2680f81ef4df
Author: Fabio M. Di Nitto <[email protected]> Date: Mon Mar 24 14:41:07 2008 +0100
[BUILD] Set -MMD as default CFLAGS
Enable non-system header files dependency tracking by using -MMD in combination with -include .d files.
This change will allow developers to edit an header file and simply fire a make to rebuild all the objects that are affect by the header change.
Before this change a make clean and make were required to propagate the header change.
NOTE to developers: you will need to rerun a configure to set -MMD in the default CFLAGS. All directories that builds objects now have a bunch of extra .d files that can be safely ignored as they are automatically generated and ignored by git.
commit 2ce223c19f4bc860d6dd2c916addff40533afb19
Author: Fabio M. Di Nitto <[email protected]> Date: Mon Mar 24 14:40:28 2008 +0100
[BUILD] Update .gitignore for .o and .d files
-----------------------------------------------------------------------
Summary of changes:
.gitignore | 2 ++ ccs/ccs_test/Makefile | 2 ++ ccs/ccs_tool/Makefile | 2 ++ ccs/ccsais/Makefile | 2 ++ ccs/daemon/Makefile | 2 ++ ccs/lib/Makefile | 2 ++ ccs/lib/libccs.c | 1 + cman/cman_tool/Makefile | 2 ++ cman/daemon/Makefile | 2 ++ cman/lib/Makefile | 8 ++++++-- cman/qdisk/Makefile | 4 ++++ configure | 2 +- dlm/lib/Makefile | 4 ++++ dlm/tool/Makefile | 2 ++ fence/agents/ipmilan/Makefile | 2 ++ fence/agents/rackswitch/Makefile | 2 ++ fence/agents/rps10/Makefile | 2 ++ fence/agents/xvm/Makefile | 5 +++++ fence/fence_node/Makefile | 2 ++ fence/fence_tool/Makefile | 2 ++ fence/fenced/Makefile | 2 ++ gfs/gfs_debug/Makefile | 2 ++ gfs/gfs_edit/Makefile | 2 ++ gfs/gfs_fsck/Makefile | 3 +-- gfs/gfs_grow/Makefile | 2 ++ gfs/gfs_jadd/Makefile | 2 ++ gfs/gfs_mkfs/Makefile | 2 ++ gfs/gfs_quota/Makefile | 2 ++ gfs/gfs_tool/Makefile | 2 ++ gfs/libgfs/Makefile | 2 ++ gfs/tests/filecon2/Makefile | 4 ++-- gfs/tests/mmdd/Makefile | 8 +++++--- gfs2/convert/Makefile | 2 ++ gfs2/edit/Makefile | 2 ++ gfs2/fsck/Makefile | 1 - gfs2/libgfs2/Makefile | 3 +++ gfs2/mkfs/Makefile | 2 ++ gfs2/mount/Makefile | 4 ++++ gfs2/quota/Makefile | 2 ++ gfs2/tool/Makefile | 2 ++ gnbd/client/Makefile | 4 ++++ gnbd/server/Makefile | 4 ++++ gnbd/tools/fence_gnbd/Makefile | 2 ++ gnbd/tools/gnbd_export/Makefile | 2 ++ gnbd/tools/gnbd_import/Makefile | 2 ++ gnbd/utils/Makefile | 6 ++++-- group/daemon/Makefile | 2 ++ group/dlm_controld/Makefile | 2 ++ group/gfs_controld/Makefile | 2 ++ group/lib/Makefile | 5 ++++- rgmanager/src/clulib/Makefile | 4 ++++ rgmanager/src/daemons/Makefile | 6 ++++++ rgmanager/src/utils/Makefile | 21 ++++++++++++++++----- 53 files changed, 146 insertions(+), 19 deletions(-)
.gitignore +2 -0
@@ -1 +1,3 @@ make/defines.mk +*.d +*.o
ccs/ccs_test/Makefile +2 -0
@@ -40,3 +40,5 @@ depends: clean: generalclean .PHONY: all ${TARGET} + +-include $(OBJS:.o=.d)
ccs/ccs_tool/Makefile +2 -0
@@ -46,3 +46,5 @@ depends: clean: generalclean .PHONY: all ${TARGET} + +-include $(OBJS:.o=.d)
ccs/ccsais/Makefile +2 -0
@@ -41,3 +41,5 @@ depends: clean: generalclean rm -f logging.c + +-include $(OBJS:.o=.d)
ccs/daemon/Makefile +2 -0
@@ -46,3 +46,5 @@ depends: clean: generalclean .PHONY: all ${TARGET} + +-include $(OBJS:.o=.d)
ccs/lib/Makefile +2 -0
@@ -41,3 +41,5 @@ log.c: clean: generalclean rm -rf ccs.h.gch log.c + +-include $(OBJS:.o=.d)
ccs/lib/libccs.c +1 -0
@@ -24,6 +24,7 @@#include "log.h" /* Libraries should not print - so only use log_dbg */ #include "debug.h" #include "comm_headers.h" +#include "ccs.h" #include <stdio.h>
cman/cman_tool/Makefile +2 -0
@@ -39,3 +39,5 @@ depends: $(MAKE) -C ../lib all clean: generalclean + +-include $(OBJS:.o=.d)
cman/daemon/Makefile +2 -0
@@ -48,3 +48,5 @@ depends: clean: generalclean +-include $(OBJS1:.o=.d) +-include $(OBJS2:.o=.d)
cman/lib/Makefile +6 -2
@@ -33,17 +33,21 @@ include $(OBJDIR)/make/clean.mk include $(OBJDIR)/make/install.mk include $(OBJDIR)/make/uninstall.mk +OBJS= $(TARGET).o + CFLAGS += -fPIC CFLAGS += -I${cmanincdir} -I$(S)/../daemon CFLAGS += -I${incdir} -$(TARGET).a: $(TARGET).o +$(TARGET).a: $(OBJS) ${AR} r $@ $^ ${RANLIB} $@ -$(TARGET).so.${SOMAJOR}.${SOMINOR}: $(TARGET).o +$(TARGET).so.${SOMAJOR}.${SOMINOR}: $(OBJS) $(CC) -shared -o $@ -Wl,-soname=$(TARGET).so.$(SOMAJOR) $< ln -sf $(TARGET).so.$(SOMAJOR).$(SOMINOR) $(TARGET).so ln -sf $(TARGET).so.$(SOMAJOR).$(SOMINOR) $(TARGET).so.$(SOMAJOR) clean: generalclean + +-include $(OBJS:.o=.d)
cman/qdisk/Makefile +4 -0
@@ -58,3 +58,7 @@ depends: $(MAKE) -C ../lib all clean: generalclean + +-include $(OBJS1:.o=.d) +-include $(OBJS2:.o=.d) +-include $(SHAREDOBJS:.o=.d)
configure +1 -1
@@ -318,7 +318,7 @@ if (!$cc) { $cc="gcc"; } if (!$cflags) { - $cflags="-Wall -Wformat=2"; + $cflags="-Wall -Wformat=2 -MMD"; if (!$debug) { $cflags="${cflags} -O2"; } else {
dlm/lib/Makefile +4 -0
@@ -78,3 +78,7 @@ $(TARGET)_lt.so.${SOMAJOR}.${SOMINOR}: $(TARGET)_lt.po $(CC) $(CFLAGS) -fPIC -D_REENTRANT -c -o $@ $< clean: generalclean + +-include $(TARGET).d +-include $(TARGET)_lt.d +-include $(AISTARGET).d
dlm/tool/Makefile +2 -0
@@ -35,3 +35,5 @@ ${TARGET}: ${OBJS} $(CC) -o $@ $^ $(LDFLAGS) clean: generalclean + +-include $(OBJS:.o=.d)
fence/agents/ipmilan/Makefile +2 -0
@@ -33,3 +33,5 @@ ${TARGET}: ${OBJS} $(CC) -o $@ $^ $(LDFLAGS) clean: generalclean + +-include $(OBJS:.o=.d)
fence/agents/rackswitch/Makefile +2 -0
@@ -32,3 +32,5 @@ ${TARGET}: ${OBJS} $(CC) -o $@ $^ $(LDFLAGS) clean: generalclean + +-include $(OBJS:.o=.d)
fence/agents/rps10/Makefile +2 -0
@@ -34,3 +34,5 @@ ${TARGET}: ${OBJS} $(CC) -o $@ $^ $(LDFLAGS) clean: generalclean + +-include $(OBJS:.o=.d)
fence/agents/xvm/Makefile +5 -0
@@ -68,3 +68,8 @@ ${TARGET3}: ${OBJS3} $(CC) -o $@ $^ $(XML_LDFLAGS) clean: generalclean + +-include $(OBJS1:.o=.d) +-include $(OBJS2:.o=.d) +-include $(OBJS3:.o=.d) +-include $(SHAREDOBJS:.o=.d)
fence/fence_node/Makefile +2 -0
@@ -41,3 +41,5 @@ depends: $(MAKE) -C ../fenced agent.o clean: generalclean + +-include $(OBJS:.o=.d)
fence/fence_tool/Makefile +2 -0
@@ -41,3 +41,5 @@ depends: $(MAKE) -C ../fenced agent.o clean: generalclean + +-include $(OBJS:.o=.d)
fence/fenced/Makefile +2 -0
@@ -42,3 +42,5 @@ ${TARGET}: ${OBJS} $(CC) -o $@ $^ $(LDFLAGS) clean: generalclean + +-include $(OBJS:.o=.d)
gfs/gfs_debug/Makefile +2 -0
@@ -40,3 +40,5 @@ ${TARGET}: ${OBJS} $(CC) -o $@ $^ $(LDFLAGS) clean: generalclean + +-include $(OBJS:.o=.d)
gfs/gfs_edit/Makefile +2 -0
@@ -38,3 +38,5 @@ ${TARGET}: ${OBJS} $(CC) -o $@ $^ $(LDFLAGS) clean: generalclean + +-include $(OBJS:.o=.d)
gfs/gfs_fsck/Makefile +1 -2
@@ -56,7 +56,6 @@ OBJS= bio.o \ util.o CFLAGS += -D_FILE_OFFSET_BITS=64 -DHELPER_PROGRAM -CFLAGS += -MMD CFLAGS += -I$(S)/../include CFLAGS += -I${incdir}
@@ -79,6 +78,6 @@ clean: generalclean ${TARGET1}.pot: $(OBJS:.o=.c) xgettext -C -F --keyword=print_log --keyword=log_debug --keyword=log_info --keyword=_ \ --keyword=log_notice --keyword=log_warn --keyword=log_err --keyword=log_crit \ - --keyword=log_debug --keyword=log_err --keyword=log_print -d - $(OBJS:.o=.c) > ${TARGET1}.pot + --keyword=log_debug --keyword=log_err --keyword=log_print -d - $(OBJS:.o=.c) > ${TARGET1}.pot -include $(OBJS:.o=.d)
gfs/gfs_grow/Makefile +2 -0
@@ -43,3 +43,5 @@ depends: clean: generalclean .PHONY: all ${TARGET} + +-include $(OBJS:.o=.d)
gfs/gfs_jadd/Makefile +2 -0
@@ -43,3 +43,5 @@ depends: clean: generalclean .PHONY: all ${TARGET} + +-include $(OBJS:.o=.d)
gfs/gfs_mkfs/Makefile +2 -0
@@ -53,3 +53,5 @@ depends: clean: generalclean .PHONY: all ${TARGET1} + +-include $(OBJS:.o=.d)
gfs/gfs_quota/Makefile +2 -0
@@ -39,3 +39,5 @@ ${TARGET}: ${OBJS} $(CC) -o $@ $^ $(LDFLAGS) clean: generalclean + +-include $(OBJS:.o=.d)
gfs/gfs_tool/Makefile +2 -0
@@ -43,3 +43,5 @@ ${TARGET}: ${OBJS} $(CC) -o $@ $^ $(LDFLAGS) clean: generalclean + +-include $(OBJS:.o=.d)
gfs/libgfs/Makefile +2 -0
@@ -52,3 +52,5 @@ ${TARGET}: ${OBJS} clean: generalclean .PHONY: all + +-include $(OBJS:.o=.d)
gfs/tests/filecon2/Makefile +2 -2
@@ -11,14 +11,14 @@ ############################################################################### ############################################################################### +TARGETS= filecon2_server filecon2_client + all: $(TARGETS) include ../../../make/defines.mk include $(OBJDIR)/make/cobj.mk include $(OBJDIR)/make/clean.mk -TARGETS= filecon2_server filecon2_client - CFLAGS += -O3 CFLAGS += -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 CFLAGS += -I../../include
gfs/tests/mmdd/Makefile +5 -3
@@ -11,16 +11,15 @@ ############################################################################### ############################################################################### +TARGETS= mmdd sfdd + all: $(TARGETS) include ../../../make/defines.mk include $(OBJDIR)/make/clean.mk -TARGETS= mmdd sfdd - CFLAGS += -D_GNU_SOURCE - mmdd.o: mmdd.c $(CC) $(CFLAGS) -D_FILE_OFFSET_BITS=64 -c -o $@ $<
@@ -31,3 +30,6 @@ sfdd.o: mmdd.c $(CC) -o $@ $^ $(LDFLAGS) clean: generalclean + +-include mmdd.d +-include sfdd.d
gfs2/convert/Makefile +2 -0
@@ -41,3 +41,5 @@ depends: clean: generalclean .PHONY: all ${TARGET} + +-include $(OBJS:.o=.d)
gfs2/edit/Makefile +2 -0
@@ -46,3 +46,5 @@ depends: clean: generalclean .PHONY: all ${TARGET} + +-include $(OBJS:.o=.d)
gfs2/fsck/Makefile +0 -1
@@ -44,7 +44,6 @@ OBJS= eattr.o \ util.o CFLAGS += -D_FILE_OFFSET_BITS=64 -DHELPER_PROGRAM -CFLAGS += -MMD CFLAGS += -I${KERNEL_SRC}/fs/gfs2/ -I${KERNEL_SRC}/include/ CFLAGS += -I$(S)/../include -I$(S)/../libgfs2 CFLAGS += -I${incdir}
gfs2/libgfs2/Makefile +3 -0
@@ -51,3 +51,6 @@ ${TARGET}: ${OBJS} clean: generalclean .PHONY: all + +-include $(OBJS:.o=.d) +
gfs2/mkfs/Makefile +2 -0
@@ -51,3 +51,5 @@ depends: clean: generalclean .PHONY: all ${TARGET1} + +-include $(OBJS:.o=.d)
gfs2/mount/Makefile +4 -0
@@ -48,3 +48,7 @@ uninstall: ${UNINSTALL} ${TARGET1} ${TARGET2} ${DESTDIR}/sbin clean: generalclean + +-include $(OBJS1:.o=.d) +-include $(OBJS2:.o=.d) +-include $(SHAREDOBJS:.o=.d)
gfs2/quota/Makefile +2 -0
@@ -44,3 +44,5 @@ depends: clean: generalclean .PHONY: all ${TARGET} + +-include $(OBJS:.o=.d)
gfs2/tool/Makefile +2 -0
@@ -49,3 +49,5 @@ depends: clean: generalclean .PHONY: all ${TARGET} + +-include $(OBJS:.o=.d)
gnbd/client/Makefile +4 -0
@@ -49,3 +49,7 @@ depends: $(MAKE) -C ../utils all clean: generalclean + +-include $(OBJS1:.o=.d) +-include $(OBJS2:.o=.d) +-include $(SHAREDOBJS:.o=.d)
gnbd/server/Makefile +4 -0
@@ -54,3 +54,7 @@ depends: $(MAKE) -C ../utils all clean: generalclean + +-include $(OBJS1:.o=.d) +-include $(OBJS2:.o=.d) +-include $(SHAREDOBJS:.o=.d)
gnbd/tools/fence_gnbd/Makefile +2 -0
@@ -33,3 +33,5 @@ ${TARGET}: ${OBJS} $(CC) -o $@ $^ $(LDFLAGS) clean: generalclean + +-include $(OBJS:.o=.d)
gnbd/tools/gnbd_export/Makefile +2 -0
@@ -44,3 +44,5 @@ depends: $(MAKE) -C ../../utils all clean: generalclean + +-include $(OBJS:.o=.d)
gnbd/tools/gnbd_import/Makefile +2 -0
@@ -43,3 +43,5 @@ depends: $(MAKE) -C ../../client monitor_req.o clean: generalclean + +-include $(OBJS:.o=.d)
gnbd/utils/Makefile +4 -2
@@ -11,11 +11,11 @@ ############################################################################### ############################################################################### -TARGETS=member_cman.o \ +OBJS= member_cman.o \ trans.o \ gnbd_utils.o -all: ${TARGETS} +all: ${OBJS} include ../../make/defines.mk include $(OBJDIR)/make/cobj.mk
@@ -27,3 +27,5 @@ CFLAGS += -I${cmanincdir} CFLAGS += -I$(S)/../include clean: generalclean + +-include $(OBJS:.o=.d)
group/daemon/Makefile +2 -0
@@ -39,3 +39,5 @@ ${TARGET}: ${OBJS} $(CC) -o $@ $^ $(LDFLAGS) clean: generalclean + +-include $(OBJS:.o=.d)
group/dlm_controld/Makefile +2 -0
@@ -47,3 +47,5 @@ depends: clean: generalclean .PHONY: all ${TARGET} + +-include $(OBJS:.o=.d)
group/gfs_controld/Makefile +2 -0
@@ -49,3 +49,5 @@ depends: clean: generalclean .PHONY: all ${TARGET} + +-include $(OBJS:.o=.d)
group/lib/Makefile +4 -1
@@ -24,9 +24,12 @@ CFLAGS += -fPIC CFLAGS += -I$(S) -I$(S)/../daemon CFLAGS += -I${incdir} +OBJS= $(TARGET).o -$(TARGET).a: $(TARGET).o +$(TARGET).a: $(OBJS) ${AR} r $@ $^ ${RANLIB} $@ clean: generalclean + +-include $(OBJS:.o=.d)
rgmanager/src/clulib/Makefile +4 -0
@@ -53,3 +53,7 @@ ${TARGET3}: ${OBJS3} ${TARGET1} $(CC) -o $@ $^ $(LDFLAGS) clean: generalclean + +-include $(OBJS1:.o=.d) +-include $(OBJS2:.o=.d) +-include $(OBJS3:.o=.d)
rgmanager/src/daemons/Makefile +6 -0
@@ -123,3 +123,9 @@ clean: generalclean rm -f tests/*.out* .PHONY: all ${TARGET1} ${TARGET2} ${TARGET3} ${TARGET4} + +-include $(OBJS1:.o=.d) +-include $(OBJS2:.o=.d) +-include $(OBJS3:.o=.d) +-include $(OBJS4:.o=.d) +-include $(SHAREDOBJS:.o=.d)
rgmanager/src/utils/Makefile +16 -5
@@ -42,21 +42,26 @@ CMAN_LDFLAGS += -L${cmanlibdir} -lcman NCURSES_LDFLAGS += -L${ncurseslibdir} -lncurses PTHREAD_LDFLAGS += -lpthread +OBJS1= $(TARGET1).o +OBJS2= $(TARGET2).o +OBJS3= $(TARGET3).o +OBJS4= $(TARGET4).o +OBJS5= $(TARGET5).o -${TARGET1}: ${TARGET1:=.o} +${TARGET1}: ${OBJS1} $(CC) -o $@ $^ $(LDFLAGS) -${TARGET2}: ${TARGET2:=.o} +${TARGET2}: ${OBJS2} $(CC) -o $@ $^ $(LDFLAGS) -${TARGET3}: ${TARGET3:=.o} +${TARGET3}: ${OBJS3} $(CC) -o $@ $^ $(LDFLAGS) $(CCS_LDFLAGS) $(CMAN_LDFLAGS) \ $(NCURSES_LDFLAGS) $(PTHREAD_LDFLAGS) -${TARGET4}: ${TARGET4:=.o} +${TARGET4}: ${OBJS4} $(CC) -o $@ $^ $(LDFLAGS) $(CMAN_LDFLAGS) $(PTHREAD_LDFLAGS) -${TARGET5}: ${TARGET5:=.o} +${TARGET5}: ${OBJS5} $(CC) -o $@ $^ $(LDFLAGS) $(CCS_LDFLAGS) ${TARGET6}:
@@ -69,3 +74,9 @@ depends: clean: generalclean .PHONY: all ${TARGET1} ${TARGET2} ${TARGET3} ${TARGET4} ${TARGET5} ${TARGET6} + +-include $(OBJS1:.o=.d) +-include $(OBJS2:.o=.d) +-include $(OBJS3:.o=.d) +-include $(OBJS4:.o=.d) +-include $(OBJS5:.o=.d)
hooks/post-receive
--
Cluster Project