summaryrefslogtreecommitdiff
path: root/build/NWGNUenvironment.inc
diff options
context:
space:
mode:
authorGuenter Knauf <fuankg@apache.org>2009-11-20 10:06:05 +0000
committerGuenter Knauf <fuankg@apache.org>2009-11-20 10:06:05 +0000
commitec26e0f1ce95b43ddac8e3e43a2cfddf4164376c (patch)
treed23f011645d1ae21ddc95141ae81a622ef4fb362 /build/NWGNUenvironment.inc
parentb35678c94e542b22e4ce56c7c136ec106eee916b (diff)
downloadhttpd-ec26e0f1ce95b43ddac8e3e43a2cfddf4164376c.tar.gz
fixed NetWare objects output directory naming.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@882477 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'build/NWGNUenvironment.inc')
-rw-r--r--build/NWGNUenvironment.inc40
1 files changed, 19 insertions, 21 deletions
diff --git a/build/NWGNUenvironment.inc b/build/NWGNUenvironment.inc
index 059a1e8d6a..8506c4a1fd 100644
--- a/build/NWGNUenvironment.inc
+++ b/build/NWGNUenvironment.inc
@@ -76,49 +76,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.o
+ifdef OPTIMIZED
+RELEASE = release
endif
-ifeq "$(RELEASE)" "noopt"
-OBJDIR = Noopt
+ifndef RELEASE
+RELEASE = release
endif
-ifeq "$(RELEASE)" "optimized"
-OBJDIR = Release.o
-endif
+OBJDIR = obj_$(RELEASE)
#
# Setup compiler information