From 9de1ea6c158a5cc16958e1a39c0adbd669773d9a Mon Sep 17 00:00:00 2001 From: Bradley Nicholes Date: Mon, 1 Dec 2008 16:42:56 +0000 Subject: [PATCH] Allow for external PCRE on netware git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@722122 13f79535-47bb-0310-9956-ffa450edef68 --- NWGNUmakefile | 8 ++++---- build/NWGNUenvironment.inc | 10 +++++++++- docs/manual/platform/netware.xml | 5 +++++ 3 files changed, 18 insertions(+), 5 deletions(-) diff --git a/NWGNUmakefile b/NWGNUmakefile index bdc9a6c08e..8bc63133ba 100644 --- a/NWGNUmakefile +++ b/NWGNUmakefile @@ -40,7 +40,7 @@ XINCDIRS += \ $(AP_WORK)/modules/proxy/ \ $(AP_WORK)/os/NetWare \ $(AP_WORK)/server/mpm/NetWare \ - $(AP_WORK)/srclib/pcre \ + $(PCRESDK) \ $(NWOS) \ $(AP_WORK)/modules/ssl \ $(EOLIST) @@ -373,10 +373,10 @@ installdev :: FORCE prebuild :: FORCE $(MAKE) -C server -f NWGNUMakefile - $(MAKE) -C srclib/pcre -f NWGNUMakefile + $(MAKE) -C $(PCRESDK) -f NWGNUMakefile $(CHKNOT) $(PREBUILD_INST)\nul mkdir $(PREBUILD_INST) -copy $(AP_WORK)\server\$(OBJDIR)\*.nlm $(PREBUILD_INST)\*.* - -copy $(AP_WORK)\srclib\pcre\$(basename $(OBJDIR))\*.nlm $(PREBUILD_INST)\*.* + -copy $(PCRESDK)\$(basename $(OBJDIR))\*.nlm $(PREBUILD_INST)\*.* # # Any specialized rules here @@ -384,7 +384,7 @@ prebuild :: FORCE vpath %.c server:modules/arch/netware:modules/http:modules/aaa:modules/mappers vpath %.c modules/generators:modules/metadata:modules/filters:modules/loggers -vpath %.c os/netware:server/mpm/netware:srclib/pcre +vpath %.c os/netware:server/mpm/netware:$(PCRESDK) # # Include the 'tail' makefile that has targets that depend on variables defined diff --git a/build/NWGNUenvironment.inc b/build/NWGNUenvironment.inc index 132a3dc50c..e39ba37e58 100644 --- a/build/NWGNUenvironment.inc +++ b/build/NWGNUenvironment.inc @@ -49,6 +49,11 @@ endif # ZLIBSDK = C:/novell/ndk/zlibsdk # endif +# This is a placeholder +# ifndef PCRESDK +# PCRESDK = C:/novell/ndk/pcresdk +# endif + ifndef METROWERKS METROWERKS = C:\Program Files\Metrowerks\CodeWarrior endif @@ -137,6 +142,9 @@ endif ifneq "$(ZLIBSDK)" "" INCDIRS := $(INCDIRS);$(ZLIBSDK) endif +ifneq "$(PCRESDK)" "" +INCDIRS := $(INCDIRS);$(PCRESDK) +endif DEFINES = -DNETWARE ifndef USE_STDSOCKETS @@ -309,7 +317,7 @@ APR = $(APR_WORK) APRUTIL = $(APU_WORK) APULDAP = $(APU_WORK)/ldap SUPMOD = $(AP_WORK)/support -PCRE = $(AP_WORK)/srclib/pcre +PCRE = $(PCRESDK) APRTEST = $(APR_WORK)/test HTTPD = $(AP_WORK)/modules/http XML = $(APU_WORK)/xml diff --git a/docs/manual/platform/netware.xml b/docs/manual/platform/netware.xml index 898fcc48fe..553482490c 100644 --- a/docs/manual/platform/netware.xml +++ b/docs/manual/platform/netware.xml @@ -498,6 +498,11 @@ Set ZLIBSDK=D:\NOVELL\zlib +
  • Set the environment variable PCRESDK to the location + where you installed the source code for the PCRE Library, for example: + Set PCRESDK=D:\NOVELL\pcre +
  • +
  • Set the environment variable AP_WORK to the full path of the httpd source code directory. Set AP_WORK=D:\httpd-2.0.x -- 2.50.1