Return-Path: X-Original-To: apmail-httpd-cvs-archive@www.apache.org Delivered-To: apmail-httpd-cvs-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id B1A17C749 for ; Thu, 3 May 2012 17:13:28 +0000 (UTC) Received: (qmail 74847 invoked by uid 500); 3 May 2012 17:13:28 -0000 Delivered-To: apmail-httpd-cvs-archive@httpd.apache.org Received: (qmail 74802 invoked by uid 500); 3 May 2012 17:13:28 -0000 Mailing-List: contact cvs-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: dev@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list cvs@httpd.apache.org Received: (qmail 74794 invoked by uid 99); 3 May 2012 17:13:28 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 May 2012 17:13:28 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 May 2012 17:13:25 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id AB435238896F; Thu, 3 May 2012 17:13:05 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1333556 - in /httpd/httpd/branches/2.0.x/build: NWGNUenvironment.inc NWGNUmakefile Date: Thu, 03 May 2012 17:13:05 -0000 To: cvs@httpd.apache.org From: fuankg@apache.org X-Mailer: svnmailer-1.0.8-patched Message-Id: <20120503171305.AB435238896F@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: fuankg Date: Thu May 3 17:13:05 2012 New Revision: 1333556 URL: http://svn.apache.org/viewvc?rev=1333556&view=rev Log: NetWare build system: added vars for Linux build. Modified: httpd/httpd/branches/2.0.x/build/NWGNUenvironment.inc httpd/httpd/branches/2.0.x/build/NWGNUmakefile Modified: httpd/httpd/branches/2.0.x/build/NWGNUenvironment.inc URL: http://svn.apache.org/viewvc/httpd/httpd/branches/2.0.x/build/NWGNUenvironment.inc?rev=1333556&r1=1333555&r2=1333556&view=diff ============================================================================== --- httpd/httpd/branches/2.0.x/build/NWGNUenvironment.inc (original) +++ httpd/httpd/branches/2.0.x/build/NWGNUenvironment.inc Thu May 3 17:13:05 2012 @@ -201,12 +201,19 @@ CLIB3S = $(METROWERKS)/Novell Support/Me MATH3S = PLIB3S = $(METROWERKS)/Novell Support/Metrowerks Support/Libraries/MSL C++/MWCPP.lib -# MetroWerks Win32 build flags to create build tool -MWCW_MSL = "$(METROWERKS)/MSL" -MWCW_W32 = "$(METROWERKS)/Win32-x86 Support" -WIN_CFLAGS = -O2 -gccinc -nodefaults -proc 586 -w off -WIN_CFLAGS += -ir $(MWCW_MSL) -ir $(MWCW_W32) -lr $(MWCW_MSL) -lr $(MWCW_W32) -WIN_CFLAGS += -lMSL_All_x86.lib -lkernel32.lib -luser32.lib +ifeq "$(OS)" "Windows_NT" +# MetroWerks Win32 build flags to create build tools +MWCW_MSL = "$(METROWERKS)/MSL" +MWCW_W32 = "$(METROWERKS)/Win32-x86 Support" +CC_FOR_BUILD = $(WIN_CC) +CFLAGS_FOR_BUILD = -O2 -gccinc -nodefaults -proc 586 -w off +CFLAGS_FOR_BUILD += -ir $(MWCW_MSL) -ir $(MWCW_W32) -lr $(MWCW_MSL) -lr $(MWCW_W32) +CFLAGS_FOR_BUILD += -lMSL_All_x86.lib -lkernel32.lib -luser32.lib +else +# GNUC build flags to create build tools +CC_FOR_BUILD = gcc +CFLAGS_FOR_BUILD = -Wall -O2 +endif # Base compile flags # and prefix or precompiled header added here. Modified: httpd/httpd/branches/2.0.x/build/NWGNUmakefile URL: http://svn.apache.org/viewvc/httpd/httpd/branches/2.0.x/build/NWGNUmakefile?rev=1333556&r1=1333555&r2=1333556&view=diff ============================================================================== --- httpd/httpd/branches/2.0.x/build/NWGNUmakefile (original) +++ httpd/httpd/branches/2.0.x/build/NWGNUmakefile Thu May 3 17:13:05 2012 @@ -79,7 +79,7 @@ $(NWOS)/chartables.c: dftables.exe $(PCR %.exe: $(PCRE)/%.c $(PCRE)/config.h $(PCRE)/pcre.h @echo Creating Build Helper $@ - @$(WIN_CC) $(WIN_CFLAGS) $< -o $@ + $(CC_FOR_BUILD) $(CFLAGS_FOR_BUILD) $< -o $@ $(NWOS)/test_char.h: gen_test_char.exe $(AP_WORK)/server/gen_test_char.c @echo Creating $(subst /,\,$@) @@ -87,7 +87,7 @@ $(NWOS)/test_char.h: gen_test_char.exe $ %.exe: $(AP_WORK)/server/%.c @echo Creating Build Helper $@ - @$(WIN_CC) $(WIN_CFLAGS) -DCROSS_COMPILE $< -o $@ + $(CC_FOR_BUILD) $(CFLAGS_FOR_BUILD) -DCROSS_COMPILE $< -o $@ else