[OpenBIOS] r98 - in fcode-utils: . detok testsuite testsuite/TokMisc testsuite/TokeCommon toke

svn at openbios.org svn at openbios.org
Sun Oct 15 20:54:10 CEST 2006


Author: stepan
Date: 2006-10-15 20:54:09 +0200 (Sun, 15 Oct 2006)
New Revision: 98

Removed:
   fcode-utils/testsuite/TokMisc/OneBeer.fc
   fcode-utils/testsuite/TokeCommon/OneBeer.fl
Modified:
   fcode-utils/Makefile
   fcode-utils/detok/Makefile
   fcode-utils/testsuite/Makefile
   fcode-utils/toke/Makefile
Log:
clean up build system


Modified: fcode-utils/Makefile
===================================================================
--- fcode-utils/Makefile	2006-10-15 16:37:02 UTC (rev 97)
+++ fcode-utils/Makefile	2006-10-15 18:54:09 UTC (rev 98)
@@ -42,6 +42,8 @@
 	make -C detok distclean
 	make -C romheaders distclean
 	make -C testsuite distclean
+	find . -name "*.gcda" -exec rm -f \{\} \;
+	find . -name "*.gcno" -exec rm -f \{\} \;
 
 tests: all
 	cp toke/toke testsuite

Modified: fcode-utils/detok/Makefile
===================================================================
--- fcode-utils/detok/Makefile	2006-10-15 16:37:02 UTC (rev 97)
+++ fcode-utils/detok/Makefile	2006-10-15 18:54:09 UTC (rev 98)
@@ -27,10 +27,19 @@
 CC      = gcc
 STRIP	= strip
 INCLUDES = -I../shared
-#CFLAGS  = -O2 -g -Wall 
-CFLAGS  = -Os -Wall -Wno-pointer-sign 
+
+# Normal Flags:
+CFLAGS  = -O2 -Wall -Wno-pointer-sign 
 LDFLAGS = 
 
+# Coverage:
+#CFLAGS  := $(CFLAGS) -fprofile-arcs -ftest-coverage
+#LDFLAGS := $(LDFLAGS) -lgcov
+
+# Debugging:
+#CFLAGS := $(CFLAGS) -g
+
+
 OBJS  = addfcodes.o decode.o detok.o dictionary.o pcihdr.o printformats.o \
         stream.o ../shared/classcodes.o
 

Modified: fcode-utils/testsuite/Makefile
===================================================================
--- fcode-utils/testsuite/Makefile	2006-10-15 16:37:02 UTC (rev 97)
+++ fcode-utils/testsuite/Makefile	2006-10-15 18:54:09 UTC (rev 98)
@@ -4,9 +4,9 @@
 
 
 clean:
-	find . -name "*.DeTok" -exec rm -f \{\} \;
-	find . -name "*.Log" -a ! -name "*..OldTkzr.Log" -exec rm -f \{\} \;
-	find . -name "*.fc" -exec rm -f \{\} \;
+	find . -name "*.DeTok" -a ! -name "*.OldTkzr.DeTok" -exec rm -f \{\} \;
+	find . -name "*.Log" -a ! -name "*.OldTkzr.Log" -exec rm -f \{\} \;
+	find . -name "*.fc" -a ! -name "*.OldTkzr.fc" -exec rm -f \{\} \;
 	find . -name "*.fl" -exec rm -f \{\} \;
 	find . -name "*.RomHdr" -exec rm -f \{\} \;
 	find . -name "*.P" -exec rm -f \{\} \;

Deleted: fcode-utils/testsuite/TokMisc/OneBeer.fc
===================================================================

Deleted: fcode-utils/testsuite/TokeCommon/OneBeer.fl
===================================================================

Modified: fcode-utils/toke/Makefile
===================================================================
--- fcode-utils/toke/Makefile	2006-10-15 16:37:02 UTC (rev 97)
+++ fcode-utils/toke/Makefile	2006-10-15 18:54:09 UTC (rev 98)
@@ -28,15 +28,17 @@
 STRIP	= strip
 INCLUDES = -I../shared
 
-# No coverage:
-#CFLAGS  = -O2 -g -Wall 
-CFLAGS  = -Os -Wall -Wno-pointer-sign -fno-strict-aliasing -DSYS_IS_GNU_Linux
+# Normal flags
+CFLAGS  = -O2 -Wall -Wno-pointer-sign -fno-strict-aliasing -DSYS_IS_GNU_Linux
 LDFLAGS =
 
 # Coverage:
-#CFLAGS  = -O2 -fprofile-arcs -ftest-coverage -Wall -Wno-pointer-sign -DSYS_IS_GNU_Linux
-#LDFLAGS = -lgcov
+#CFLAGS  := $(CFLAGS) -fprofile-arcs -ftest-coverage
+#LDFLAGS := $(LDFLAGS) -lgcov
 
+# Debugging:
+# CFLAGS  := $(CFLAGS) -g
+
 OBJS  = clflags.o conditl.o devnode.o dictionary.o emit.o errhandler.o     \
         flowcontrol.o macros.o nextfcode.o parselocals.o scanner.o stack.o \
 	stream.o strsubvocab.o ticvocab.o toke.o tokzesc.o tracesyms.o     \




More information about the OpenBIOS mailing list