Return-Path: Delivered-To: apmail-apr-commits-archive@www.apache.org Received: (qmail 74852 invoked from network); 9 Oct 2010 19:08:36 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 9 Oct 2010 19:08:36 -0000 Received: (qmail 96305 invoked by uid 500); 9 Oct 2010 19:08:36 -0000 Delivered-To: apmail-apr-commits-archive@apr.apache.org Received: (qmail 96265 invoked by uid 500); 9 Oct 2010 19:08:36 -0000 Mailing-List: contact commits-help@apr.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: Reply-To: dev@apr.apache.org List-Id: Delivered-To: mailing list commits@apr.apache.org Received: (qmail 96258 invoked by uid 99); 9 Oct 2010 19:08:36 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 09 Oct 2010 19:08:36 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.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; Sat, 09 Oct 2010 19:08:35 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 5926D23888FD; Sat, 9 Oct 2010 19:08:15 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1006214 - in /apr/apr/branches/0.9.x: NWGNUmakefile build/NWGNUenvironment.inc Date: Sat, 09 Oct 2010 19:08:15 -0000 To: commits@apr.apache.org From: fuankg@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20101009190815.5926D23888FD@eris.apache.org> Author: fuankg Date: Sat Oct 9 19:08:14 2010 New Revision: 1006214 URL: http://svn.apache.org/viewvc?rev=1006214&view=rev Log: Minor NetWare makefile fixes. Modified: apr/apr/branches/0.9.x/NWGNUmakefile apr/apr/branches/0.9.x/build/NWGNUenvironment.inc Modified: apr/apr/branches/0.9.x/NWGNUmakefile URL: http://svn.apache.org/viewvc/apr/apr/branches/0.9.x/NWGNUmakefile?rev=1006214&r1=1006213&r2=1006214&view=diff ============================================================================== --- apr/apr/branches/0.9.x/NWGNUmakefile (original) +++ apr/apr/branches/0.9.x/NWGNUmakefile Sat Oct 9 19:08:14 2010 @@ -1,10 +1,26 @@ # +# 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 # SUBDIRS = \ build \ - ..\apr-util \ + $(APU_WORK) \ $(EOLIST) # @@ -26,10 +42,10 @@ include $(APR_WORK)\build\NWGNUhead.inc # INCDIRS # XINCDIRS += \ - $(APR_WORK)/include \ - $(APR_WORK)/include/arch/NetWare \ - $(APR_WORK)/include/arch/unix \ - $(APR_WORK)/memory/unix \ + $(APR)/include \ + $(APR)/include/arch/NetWare \ + $(APR)/include/arch/unix \ + $(APR)/memory/unix \ $(APRUTIL)/xml \ $(EOLIST) @@ -102,7 +118,7 @@ endif # This is used by the link 'name' directive to name the nlm. If left blank # TARGET_nlm (see below) will be used. # -NLM_NAME = aprlib +NLM_NAME = aprlib # # This is used by the link '-desc ' directive. @@ -119,7 +135,7 @@ NLM_THREAD_NAME = # If this is specified, it will override VERSION value in # $(APR_WORK)\build\NWGNUenvironment.inc # -NLM_VERSION = +NLM_VERSION = # # If this is specified, it will override the default of 64K @@ -144,14 +160,14 @@ NLM_CHECK_SYM = # # If this is specified it will be used by the link '-flags' directive # -NLM_FLAGS = AUTOUNLOAD, PSEUDOPREEMPTION +NLM_FLAGS = AUTOUNLOAD, PSEUDOPREEMPTION # # If this is specified it will be linked in with the XDCData option in the def # file instead of the default of $(APR)/misc/netware/apache.xdc. XDCData can # be disabled by setting APACHE_UNIPROC in the environment # -XDCDATA = +XDCDATA = # # Declare all target files (you must add your files here) @@ -229,9 +245,9 @@ FILES_nlm_Ximports = \ # Any symbols exported to here # FILES_nlm_exports = \ - @aprlib.imp \ + @aprlib.imp \ $(EOLIST) - + # # These are the OBJ files needed to create the LIB target above. # Paths must all use the '/' character @@ -325,9 +341,8 @@ ifndef DEST @echo xcopy docs $(INSTALLBASE)\docs\*.* $(XCOPYSW) >> xc.bat $(CMD) xc.bat $(DEL) xc.bat - -endif - +endif + $(INSTDIRS) :: $(CHKNOT) $@\NUL mkdir $@ @@ -337,10 +352,10 @@ installdev :: $(INSTDEVDIRS) FORCE -copy $(subst /,\,$(APRUTIL))\include\*.h $(INSTALLBASE)\include\*.* -copy $(subst /,\,$(APR))\*.imp $(INSTALLBASE)\lib\*.* -copy $(subst /,\,$(APR))\misc\netware\*.xdc $(INSTALLBASE)\lib\*.* - + $(INSTDEVDIRS) :: $(CHKNOT) $@\NUL mkdir $@ -endif +endif # # Any specialized rules here 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=1006214&r1=1006213&r2=1006214&view=diff ============================================================================== --- apr/apr/branches/0.9.x/build/NWGNUenvironment.inc (original) +++ apr/apr/branches/0.9.x/build/NWGNUenvironment.inc Sat Oct 9 19:08:14 2010 @@ -274,10 +274,10 @@ endif # Common directories # -APR = $(APR_WORK) -APRTEST = $(APR_WORK)/test -APRUTIL = $(APR_WORK)/../apr-util -XML = $(APRUTIL)/xml +APR = $(APR_WORK) +APRTEST = $(APR)/test +APRUTIL = $(APU_WORK) +XML = $(APRUTIL)/xml # # Internal Libraries