
fuankg at apache
Nov 20, 2009, 2:17 AM
Post #1 of 1
(85 views)
Permalink
|
|
svn commit: r882483 - /httpd/httpd/branches/2.2.x/build/NWGNUenvironment.inc
|
|
Author: fuankg Date: Fri Nov 20 10:17:02 2009 New Revision: 882483 URL: http://svn.apache.org/viewvc?rev=882483&view=rev Log: fixed NetWare objects output directory naming. Modified: httpd/httpd/branches/2.2.x/build/NWGNUenvironment.inc Modified: httpd/httpd/branches/2.2.x/build/NWGNUenvironment.inc URL: http://svn.apache.org/viewvc/httpd/httpd/branches/2.2.x/build/NWGNUenvironment.inc?rev=882483&r1=882482&r2=882483&view=diff ============================================================================== --- httpd/httpd/branches/2.2.x/build/NWGNUenvironment.inc (original) +++ httpd/httpd/branches/2.2.x/build/NWGNUenvironment.inc Fri Nov 20 10:17:02 2009 @@ -68,48 +68,46 @@ # 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 @@ endif # -O4,p level 4 optimizations, optimize for speed -ifeq "$(RELEASE)" "optimized" +ifeq "$(RELEASE)" "release" CFLAGS += -O4,p endif
|