[prev in list] [next in list] [prev in thread] [next in thread]
List: apr-cvs
Subject: svn commit: r882475 - /apr/apr/branches/1.4.x/build/NWGNUenvironment.inc
From: fuankg () apache ! org
Date: 2009-11-20 10:04:19
Message-ID: 20091120100420.7046A23888DC () eris ! apache ! org
[Download RAW message or body]
Author: fuankg
Date: Fri Nov 20 10:04:18 2009
New Revision: 882475
URL: http://svn.apache.org/viewvc?rev=882475&view=rev
Log:
fixed NetWare objects output directory naming.
Modified:
apr/apr/branches/1.4.x/build/NWGNUenvironment.inc
Modified: apr/apr/branches/1.4.x/build/NWGNUenvironment.inc
URL: http://svn.apache.org/viewvc/apr/apr/branches/1.4.x/build/NWGNUenvironment.inc?rev=882475&r1=882474&r2=882475&view=diff
==============================================================================
--- apr/apr/branches/1.4.x/build/NWGNUenvironment.inc (original)
+++ apr/apr/branches/1.4.x/build/NWGNUenvironment.inc Fri Nov 20 10:04:18 2009
@@ -62,49 +62,47 @@
#
# Set the Release type that you want to build, possible values are:
#
-# debug - full debug switches are set
-# noopt - normal switches are set (default)
-# optimized - optimization switches are set
+# debug - full debug switches are set
+# noopt - normal switches are set
+# release - optimization switches are set (default)
ifdef reltype
-RELEASE=$(reltype)
-endif
+RELEASE = $(reltype)
+endif
ifdef RELTYPE
-RELEASE=$(RELTYPE)
+RELEASE = $(RELTYPE)
endif
ifdef debug
-RELEASE=debug
+RELEASE = debug
endif
ifdef DEBUG
-RELEASE=debug
+RELEASE = debug
endif
-ifdef optimized
-RELEASE=optimized
+ifdef noopt
+RELEASE = noopt
endif
-ifdef OPTIMIZED
-RELEASE=optimized
+ifdef NOOPT
+RELEASE = noopt
endif
-ifndef RELEASE
-RELEASE = optimized
+ifdef optimized
+RELEASE = release
endif
-ifeq "$(RELEASE)" "debug"
-OBJDIR = Debug
+ifdef OPTIMIZED
+RELEASE = release
endif
-ifeq "$(RELEASE)" "noopt"
-OBJDIR = Noopt
+ifndef RELEASE
+RELEASE = release
endif
-ifeq "$(RELEASE)" "optimized"
-OBJDIR = Release
-endif
+OBJDIR = obj_$(RELEASE)
#
# Setup compiler information
@@ -174,7 +172,7 @@
endif
# -O4,p level 4 optimizations, optimize for speed
-ifeq "$(RELEASE)" "optimized"
+ifeq "$(RELEASE)" "release"
CFLAGS += -O4,p
endif
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic