apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fua...@apache.org
Subject svn commit: r795432 - /apr/apr/branches/0.9.x/build/NWGNUenvironment.inc
Date Sat, 18 Jul 2009 21:21:09 GMT
Author: fuankg
Date: Sat Jul 18 21:21:07 2009
New Revision: 795432

URL: http://svn.apache.org/viewvc?rev=795432&view=rev
Log:
added vars for Metrowerks directories to make it easier configureable.

Modified:
    apr/apr/branches/0.9.x/build/NWGNUenvironment.inc

Modified: apr/apr/branches/0.9.x/build/NWGNUenvironment.inc
URL: http://svn.apache.org/viewvc/apr/apr/branches/0.9.x/build/NWGNUenvironment.inc?rev=795432&r1=795431&r2=795432&view=diff
==============================================================================
--- apr/apr/branches/0.9.x/build/NWGNUenvironment.inc (original)
+++ apr/apr/branches/0.9.x/build/NWGNUenvironment.inc Sat Jul 18 21:21:07 2009
@@ -130,9 +130,10 @@
 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 "$(METROWERKS)/MSL" -ir "$(METROWERKS)/Win32-x86 Support"
-WIN_CFLAGS += -lr "$(METROWERKS)/MSL" -lr "$(METROWERKS)/Win32-x86 Support"
+WIN_CFLAGS += -ir $(MWCW_MSL) -ir $(MWCW_W32) -lr $(MWCW_MSL) -lr $(MWCW_W32)
 WIN_CFLAGS += -lMSL_All_x86.lib -lkernel32.lib -luser32.lib
 
 # Base compile flags



Mime
View raw message