[Ocfs2-tools-commits] smushran commits r632 - in trunk: mkfs.ocfs2 mount.ocfs2 ocfs2console

svn-commits at oss.oracle.com svn-commits at oss.oracle.com
Thu Feb 10 14:03:06 CST 2005


Author: smushran
Date: 2005-02-10 14:03:04 -0600 (Thu, 10 Feb 2005)
New Revision: 632

Added:
   trunk/mount.ocfs2/Cscope.make
Modified:
   trunk/mkfs.ocfs2/Makefile
   trunk/mount.ocfs2/
   trunk/ocfs2console/
Log:
OCFS_DEBUG used in mkfs.ocfs2/Makefile

Modified: trunk/mkfs.ocfs2/Makefile
===================================================================
--- trunk/mkfs.ocfs2/Makefile	2005-02-08 01:55:48 UTC (rev 631)
+++ trunk/mkfs.ocfs2/Makefile	2005-02-10 20:03:04 UTC (rev 632)
@@ -6,7 +6,9 @@
            -Wmissing-declarations
 
 ifdef OCFS_DEBUG
-OPTS = -g
+OPTS = -ggdb -O0
+else
+OPTS = -O2
 endif
 
 CFLAGS = $(OPTS) $(WARNINGS) 
@@ -20,10 +22,6 @@
 INCLUDES = $(LIBOCFS2_CFLAGS) -I.
 DEFINES = -DOCFS2_FLAT_INCLUDES -DVERSION=\"$(VERSION)\"
 
-OPTIMIZE = -O2
-
-CFLAGS += $(OPTIMIZE)
-
 CFILES = mkfs.c
 OBJS = $(subst .c,.o,$(CFILES))
 


Property changes on: trunk/mount.ocfs2
___________________________________________________________________
Name: svn:ignore
   - .*.sw?
mount.ocfs2
*.d

   + .*.sw?
mount.ocfs2
*.d
cscope.*


Added: trunk/mount.ocfs2/Cscope.make
===================================================================
--- trunk/mount.ocfs2/Cscope.make	2005-02-08 01:55:48 UTC (rev 631)
+++ trunk/mount.ocfs2/Cscope.make	2005-02-10 20:03:04 UTC (rev 632)
@@ -0,0 +1,10 @@
+.PHONY: cscope
+cscope:
+	rm -f cscope.*
+	echo "-k" >> cscope.files
+	echo "-I inc" >> cscope.files
+	find . -maxdepth 2 -name '*.c' -print >>cscope.files
+	find . -maxdepth 2 -name '*.h' -print >>cscope.files
+	find ../libocfs2/ -maxdepth 2 -name '*.c' -print >>cscope.files
+	find ../libocfs2/ -maxdepth 2 -name '*.h' -print >>cscope.files
+	cscope -b


Property changes on: trunk/ocfs2console
___________________________________________________________________
Name: svn:ignore
   - .*.sw?
*.pyc
ocfsmarshal.c
ocfsmarshal.h
cellmap.c
*.so
ocfs2tool.8
*.d

   + .*.sw?
*.pyc
ocfsmarshal.c
ocfsmarshal.h
cellmap.c
*.so
ocfs2tool.8
*.d
ocfs2console.8




More information about the Ocfs2-tools-commits mailing list