]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
fixed NetWare objects output directory naming.
authorGuenter Knauf <fuankg@apache.org>
Fri, 20 Nov 2009 10:17:02 +0000 (10:17 +0000)
committerGuenter Knauf <fuankg@apache.org>
Fri, 20 Nov 2009 10:17:02 +0000 (10:17 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x@882483 13f79535-47bb-0310-9956-ffa450edef68

build/NWGNUenvironment.inc

index 110421dbccdc3995fda6c4f0080a4321053d1ee2..9e6a5d83cb2b9514d69fcc40ca6b240167a2e5df 100644 (file)
@@ -68,48 +68,46 @@ 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
+#  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
@@ -191,7 +189,7 @@ CFLAGS += -g -O0
 endif
 
 # -O4,p                 level 4 optimizations, optimize for speed
-ifeq "$(RELEASE)" "optimized"
+ifeq "$(RELEASE)" "release"
 CFLAGS += -O4,p
 endif