summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBradley Nicholes <bnicholes@apache.org>2008-12-01 16:42:56 +0000
committerBradley Nicholes <bnicholes@apache.org>2008-12-01 16:42:56 +0000
commit9de1ea6c158a5cc16958e1a39c0adbd669773d9a (patch)
tree8a42b69c1e9d4f8dc2950a036a955b7991ec2cfb
parent5d9555b238f577da070832b90fb53e95bb2f817a (diff)
downloadhttpd-9de1ea6c158a5cc16958e1a39c0adbd669773d9a.tar.gz
Allow for external PCRE on netware
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@722122 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--NWGNUmakefile8
-rw-r--r--build/NWGNUenvironment.inc10
-rw-r--r--docs/manual/platform/netware.xml5
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 @@
<example>Set ZLIBSDK=D:\NOVELL\zlib</example>
</li>
+ <li>Set the environment variable <code>PCRESDK</code> to the location
+ where you installed the source code for the PCRE Library, for example:
+ <example>Set PCRESDK=D:\NOVELL\pcre</example>
+ </li>
+
<li>Set the environment variable <code>AP_WORK</code> to the full path of
the <code>httpd</code> source code directory.
<example>Set AP_WORK=D:\httpd-2.0.x</example>