[teklib-general] teklib: Debug levels adjusted to 3 in debug builds and 5 in norm...

Timm S. Mueller tmueller at neoscientists.org
Fri Jan 2 18:56:19 CET 2009


details:   http://hg.teklib.org/teklib/rev/4e80be689afb
changeset: 213:4e80be689afb
user:      Timm S. Mueller <tmueller at neoscientists.org>
date:      Fri Jan 02 13:30:16 2009 +0100
description:
Debug levels adjusted to 3 in debug builds and 5 in normal builds; cleanup of
debug levels in a few modules; Display driver instances are now uniformly
called "Windows"; Visual: removed Arc functions

diffs (truncated from 5105 to 100 lines):

diff -r 913035a46e12 -r 4e80be689afb Makefile
--- a/Makefile	Tue Dec 30 21:49:19 2008 +0100
+++ b/Makefile	Fri Jan 02 13:30:16 2009 +0100
@@ -88,9 +88,7 @@
 
 $(TEKLIB)/bin/winnt/tmkmf:
 	- at mkdir -p $(TEKLIB)/bin/winnt
-	# MinGW on Windows (native):
 	$(CC) -I$(TEKLIB) -I$(TEKLIB)/src/hal $(TEKLIB)/build/tmkmf.c -mno-cygwin -lm -lwinmm -o $@
-	# MinGW on Linux cross (see also CCPREFIX in build/config/winnt_winnt.tmk):
 	#$(CC) -I$(TEKLIB) -I$(TEKLIB)/src/hal $(TEKLIB)/build/tmkmf.c -pthread -ldl -lm -o $@
 
 # Playstation2 is cross-built on Linux:
diff -r 913035a46e12 -r 4e80be689afb build/config/posix_fbsd.tmk
--- a/build/config/posix_fbsd.tmk	Tue Dec 30 21:49:19 2008 +0100
+++ b/build/config/posix_fbsd.tmk	Fri Jan 02 13:30:16 2009 +0100
@@ -57,14 +57,14 @@
 		[/case]
 		[case config="_gcc_debug"]
 			OPT 	= -O1
-			DEBUG	= -DTDEBUG=5 -g
+			DEBUG	= -DTDEBUG=3 -g
 		[/case]
 		[case config="_gcc_small"]
 			OPT 	= -Os -fomit-frame-pointer
 		[/case]
 		[default]
 			OPT 	= -O2
-			DEBUG	= -DTDEBUG=10 -g
+			DEBUG	= -DTDEBUG=5 -g
 		[/default]
 	[/switch]
 
diff -r 913035a46e12 -r 4e80be689afb build/config/posix_linux.tmk
--- a/build/config/posix_linux.tmk	Tue Dec 30 21:49:19 2008 +0100
+++ b/build/config/posix_linux.tmk	Fri Jan 02 13:30:16 2009 +0100
@@ -57,14 +57,14 @@
 		[/case]
 		[case config="_gcc_debug"]
 			OPT     = -O1
-			DEBUG   = -DTDEBUG=5 -g
+			DEBUG   = -DTDEBUG=3 -g
 		[/case]
 		[case config="_gcc_small"]
 			OPT 	= -Os -fomit-frame-pointer
 		[/case]
 		[default]
 			OPT     = -O2
-			DEBUG   = -DTDEBUG=10 -g
+			DEBUG   = -DTDEBUG=5 -g
 		[/default]
 	[/switch]
 
diff -r 913035a46e12 -r 4e80be689afb build/config/winnt_winnt.tmk
--- a/build/config/winnt_winnt.tmk	Tue Dec 30 21:49:19 2008 +0100
+++ b/build/config/winnt_winnt.tmk	Fri Jan 02 13:30:16 2009 +0100
@@ -44,7 +44,7 @@
 	CAT         = cat
 	ECHO        = echo
 
-	CCPREFIX    = i586-mingw32-
+	# CCPREFIX    = i586-mingw32-
 
 	CC			= $(CCPREFIX)gcc -mno-cygwin -DWIN32
 	AR			= $(CCPREFIX)ar rcu
@@ -61,11 +61,11 @@
 		[/case]
 		[case config="_gcc_debug"]
 			OPT     = -O1
-			DEBUG   = -DTDEBUG=5 -g
+			DEBUG   = -DTDEBUG=3 -g
 		[/case]
 		[default]
 			OPT     = -O2
-			DEBUG   = -DTDEBUG=10
+			DEBUG   = -DTDEBUG=5
 		[/default]
 	[/switch]
 
diff -r 913035a46e12 -r 4e80be689afb src/build/tmkmakefile
--- a/src/build/tmkmakefile	Tue Dec 30 21:49:19 2008 +0100
+++ b/src/build/tmkmakefile	Fri Jan 02 13:30:16 2009 +0100
@@ -24,12 +24,11 @@
 		util
 	[/embed]
 	[embed body="meta"]
+		lua
+	[/embed]
+	[embed body="meta"]
 		visual
 	[/embed]
-	[embed body="meta"]
-		lua
-	[/embed]
-
 	[switch]
 		[case_no_descend config="posix"]
 			[embed body="meta"]
@@ -37,24 +36,29 @@
 			[/embed]


More information about the teklib-general mailing list