You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apr.apache.org by fu...@apache.org on 2009/11/20 11:04:19 UTC
svn commit: r882475 - /apr/apr/branches/1.4.x/build/NWGNUenvironment.inc
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