summaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
authorfuankg <fuankg@13f79535-47bb-0310-9956-ffa450edef68>2009-11-20 10:04:18 +0000
committerfuankg <fuankg@13f79535-47bb-0310-9956-ffa450edef68>2009-11-20 10:04:18 +0000
commit5dccc7d0ca5ab08cf5db4c0b4eec8ced9e9fdf60 (patch)
treea17310e75c8e84e5a8684148274aa93309b92a11 /build
parent7d4338b0269767d16ac2a82c4fb2da4ee0e22729 (diff)
downloadlibapr-5dccc7d0ca5ab08cf5db4c0b4eec8ced9e9fdf60.tar.gz
fixed NetWare objects output directory naming.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.4.x@882475 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'build')
-rw-r--r--build/NWGNUenvironment.inc42
1 files changed, 20 insertions, 22 deletions
diff --git a/build/NWGNUenvironment.inc b/build/NWGNUenvironment.inc
index 493ed7903..f58339881 100644
--- a/build/NWGNUenvironment.inc
+++ b/build/NWGNUenvironment.inc
@@ -62,49 +62,47 @@ endif
#
# 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 @@ CFLAGS += -g -O0
endif
# -O4,p level 4 optimizations, optimize for speed
-ifeq "$(RELEASE)" "optimized"
+ifeq "$(RELEASE)" "release"
CFLAGS += -O4,p
endif