apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wr...@apache.org
Subject svn commit: r596839 - /apr/apr-util/trunk/Makefile.win
Date Tue, 20 Nov 2007 21:59:47 GMT
Author: wrowe
Date: Tue Nov 20 13:59:45 2007
New Revision: 596839

URL: http://svn.apache.org/viewvc?rev=596839&view=rev
Log:
This strategy did not work for .dsp's as expected, and the
path resolution did not work out using some versions of nmake.
Note issues and back out the path-fixup until a better solution
can be determined.


Modified:
    apr/apr-util/trunk/Makefile.win

Modified: apr/apr-util/trunk/Makefile.win
URL: http://svn.apache.org/viewvc/apr/apr-util/trunk/Makefile.win?rev=596839&r1=596838&r2=596839&view=diff
==============================================================================
--- apr/apr-util/trunk/Makefile.win (original)
+++ apr/apr-util/trunk/Makefile.win Tue Nov 20 13:59:45 2007
@@ -23,8 +23,10 @@
 #     ARCH="x64 Release"
 #     ARCH="x64 Debug"
 #
-# Provide the APR_PATH, API_PATH and APU_PATH all as absolute paths, 
-# or all as paths RELATIVE TO ONE ANOTHER!
+# Provide the APR_PATH, API_PATH and APU_PATH entirely relative 
+# to one another!  At this time, building the libraries themselves
+# is only expected to work if the defaults (../apr, ../apr-iconv 
+# and ../apr-util) are used, or if they are built with USEMAK=1.
 #
 #     APR_PATH=..\apr-1.3.0
 #     API_PATH=..\apr-iconv-1.3.0
@@ -228,16 +230,14 @@
 	cd $(APU_PATH)
 
 checkapu:
-        for /f %p in ('cd $(APR_PATH) && pwd') do set FOUND_APR=%p
-        for /f %p in ('cd $(API_PATH) && pwd') do set FOUND_API=%p
 	cd $(APU_PATH)
-        cd test
+	cd test
 	 $(MAKE) $(MAKEOPT) -f Makefile.win MODEL=static \
 		OUTDIR=$(LIBSPATH) APROUTDIR=$(LIBSOSPATH) \
-		APR_PATH=%FOUND_APR% API_PATH=%FOUND_APR% check
+		APR_PATH=..\$(APR_PATH) API_PATH=..\$(API_PATH) check
 	 $(MAKE) $(MAKEOPT) -f Makefile.win MODEL=dynamic \
 		OUTDIR=$(LIBSPATH) APROUTDIR=$(ARCHOSPATH) \
-		APR_PATH=%FOUND_APR% API_PATH=%FOUND_APR% check
+		APR_PATH=..\$(APR_PATH) API_PATH=..\$(API_PATH) check
 	cd ..
 
 checkall: checkapr checkapu



Mime
View raw message