Browse code

- even more makefile clean-ups - fixed sun GNU ld related compilations options - changed ver. no

Andrei Pelinescu-Onciul authored on 25/02/2002 22:25:37
Showing 1 changed files
... ...
@@ -8,7 +8,7 @@
8 8
 VERSION = 0
9 9
 PATCHLEVEL = 8
10 10
 SUBLEVEL = 7
11
-EXTRAVERSION = -1-almost_stable
11
+EXTRAVERSION = -2
12 12
 
13 13
 RELEASE=$(VERSION).$(PATCHLEVEL).$(SUBLEVEL)$(EXTRAVERSION)
14 14
 OS = $(shell uname -s)
... ...
@@ -72,8 +72,8 @@ DEFS+= -DNAME='"$(NAME)"' -DVERSION='"$(RELEASE)"' -DARCH='"$(ARCH)"' \
72 72
 	 -DDNS_IP_HACK  -DPKG_MALLOC -DSHM_MEM  -DSHM_MMAP \
73 73
 	 -DF_MALLOC  -DUSE_SYNONIM\
74 74
 	 -DNO_DEBUG \
75
-	 -DNOSMP
76
-#	 -DADAPTIVE_WAIT -DADAPTIVE_WAIT_LOOPS=1024 \
75
+	 #-DADAPTIVE_WAIT -DADAPTIVE_WAIT_LOOPS=0 \
76
+	 #-DNOSMP \
77 77
 	 #-DEXTRA_DEBUG 
78 78
 	 #-DVQ_MALLOC  -DDBG_LOCK  #-DSTATS
79 79
 	 #-DDBG_QM_MALLOC #-DNO_DEBUG
... ...
@@ -196,7 +196,7 @@ endif	#ARCH, sparc64
196 196
 
197 197
 
198 198
 # setting LDFLAGS
199
-	LDFLAGS+=-Wl,-O2 -Wl,-E $(PROFILE)
199
+	LDFLAGS+=-Wl,-O2 -Wl,-E $(PROFILE) 
200 200
 	# we need -fPIC -DPIC only for shared objects, we don't need them for
201 201
 	# the executable file, because it's always loaded at a fixed address
202 202
 	# -andrei
... ...
@@ -225,11 +225,11 @@ endif
225 225
 
226 226
 ifeq  ($(OS), SunOS)
227 227
 	ifeq ($(mode), release)
228
-		LDFLAGS=-O2 $(PROFILE)
229
-		MOD_LDFLAGS=-O2 -G
228
+		#LDFLAGS=-O2 $(PROFILE)
229
+		#MOD_LDFLAGS=-O2 -G
230 230
 	else
231
-		LDFLAGS=-g $(PROFILE)
232
-		MOD_LDFLAGS=-g -G
231
+		#LDFLAGS=-g $(PROFILE)
232
+		#MOD_LDFLAGS=-g -G
233 233
 	endif
234 234
 
235 235
 	YACC=yacc