Browse code

- minor cleanup

Andrei Pelinescu-Onciul authored on 12/02/2002 17:48:04
Showing 2 changed files
... ...
@@ -60,9 +60,8 @@ ARCH = $(shell uname -m |sed -e s/i.86/i386/ -e s/sun4u/sparc64/ )
60 60
 DEFS+= -DNAME='"$(NAME)"' -DVERSION='"$(RELEASE)"' -DARCH='"$(ARCH)"' \
61 61
 	 -DOS='"$(OS)"' -DCOMPILER='"$(CC_VER)"'\
62 62
 	 -DDNS_IP_HACK  -DPKG_MALLOC -DSHM_MEM  -DSHM_MMAP \
63
-	 -DUSE_SYNONIM -DVQ_MALLOC \
64
-	 #-DFAST_LOCK -Di386
65
-	 #-DEXTRA_DEBUG #-DSTATIC_TM
63
+	 -DUSE_SYNONIM -DF_MALLOC \
64
+	 #-DEXTRA_DEBUG 
66 65
 	 #-DVQ_MALLOC  -DDBG_LOCK  #-DSTATS
67 66
 	 #-DDBG_QM_MALLOC #-DNO_DEBUG
68 67
 #-DEXTRA_DEBUG
... ...
@@ -93,12 +92,12 @@ MKDEP=gcc -MM $(DEFS)
93 93
 MKTAGS=ctags -R .
94 94
 
95 95
 ifeq ($(mode), release)
96
-	CFLAGS+=-O9 -funroll-loops  -Wcast-align $(PROFILE) -Winline\
96
+	CFLAGS=-O9 -funroll-loops  -Wcast-align $(PROFILE) -Winline\
97 97
 			-malign-double -malign-loops=4
98 98
 			#-Wmissing-prototypes \
99 99
 	
100 100
 ifneq (,$(findstring 3.0, $(CC_VER)))
101
-	CFLAGS+=-minline-all-stringops \
101
+	CFLAGS=-minline-all-stringops \
102 102
 				-march=athlon \
103 103
 				#-mcpu=athlon
104 104
 endif
... ...
@@ -107,7 +106,7 @@ endif
107 107
 	# the executable file, because it's always loaded at a fixed address
108 108
 	# -andrei
109 109
 else
110
-	CFLAGS+=-g -Wcast-align -Winline $(PROFILE)
110
+	CFLAGS=-g -Wcast-align -Winline $(PROFILE)
111 111
 	LDFLAGS+=-g -Wl,-E $(PROFILE)
112 112
 endif
113 113
 
... ...
@@ -32,7 +32,6 @@ void dprint (char* format, ...);
32 32
 #ifdef NO_DEBUG
33 33
 	#define DPrint(fmt, args...)
34 34
 #else
35
-	//#define DPrint(fmt,args...) dprint(fmt, ## args)
36 35
 	#define DPrint(fmt,args...) \
37 36
 		do{ \
38 37
 			if (debug>=DPRINT_LEV){ \