You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apr.apache.org by fu...@apache.org on 2010/10/09 21:15:06 UTC

svn commit: r1006217 - in /apr/apr/branches/1.5.x: NWGNUmakefile build/NWGNUenvironment.inc

Author: fuankg
Date: Sat Oct  9 19:15:06 2010
New Revision: 1006217

URL: http://svn.apache.org/viewvc?rev=1006217&view=rev
Log:
Minor NetWare makefile fixes.

Modified:
    apr/apr/branches/1.5.x/NWGNUmakefile
    apr/apr/branches/1.5.x/build/NWGNUenvironment.inc

Modified: apr/apr/branches/1.5.x/NWGNUmakefile
URL: http://svn.apache.org/viewvc/apr/apr/branches/1.5.x/NWGNUmakefile?rev=1006217&r1=1006216&r2=1006217&view=diff
==============================================================================
--- apr/apr/branches/1.5.x/NWGNUmakefile (original)
+++ apr/apr/branches/1.5.x/NWGNUmakefile Sat Oct  9 19:15:06 2010
@@ -1,4 +1,20 @@
 #
+# Define our macros with defaults if we dont got them already.
+#
+ifndef APR_WORK
+export APR_WORK = $(CURDIR)
+endif
+ifneq "$(wildcard $(APR_WORK)/include/apr_version.h)" "$(APR_WORK)/include/apr_version.h"
+$(error APR_WORK does not point to a valid APR source tree) 
+endif
+ifndef APU_WORK
+export APU_WORK = $(CURDIR)/../apr-util
+endif
+ifneq "$(wildcard $(APU_WORK)/include/apu_version.h)" "$(APU_WORK)/include/apu_version.h"
+$(error APU_WORK does not point to a valid APU source tree) 
+endif
+
+#
 # Declare the sub-directories to be built here
 #
 

Modified: apr/apr/branches/1.5.x/build/NWGNUenvironment.inc
URL: http://svn.apache.org/viewvc/apr/apr/branches/1.5.x/build/NWGNUenvironment.inc?rev=1006217&r1=1006216&r2=1006217&view=diff
==============================================================================
--- apr/apr/branches/1.5.x/build/NWGNUenvironment.inc (original)
+++ apr/apr/branches/1.5.x/build/NWGNUenvironment.inc Sat Oct  9 19:15:06 2010
@@ -280,9 +280,9 @@ CHKNOT	= $(CMD) if not exist
 #
 
 APR		= $(APR_WORK)
-APRTEST		= $(APR_WORK)/test
+APRTEST		= $(APR)/test
 APRUTIL		= $(APU_WORK)
-APULDAP		= $(APU_WORK)/ldap
+APULDAP		= $(APRUTIL)/ldap
 XML		= $(APRUTIL)/xml
 
 #