From: Bradley Nicholes
Date: Tue, 8 Feb 2005 23:17:38 +0000 (+0000)
Subject: Add a target to build the prebuild utilities on NetWare
X-Git-Tag: 2.1.3~48
X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6f6940dbaac9240eaa8ac01ece63130de2ab674c;p=apache
Add a target to build the prebuild utilities on NetWare
Submitted by: Guenter Knauf
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@152957 13f79535-47bb-0310-9956-ffa450edef68
---
diff --git a/NWGNUmakefile b/NWGNUmakefile
index ee85d857e5..0c521c7309 100644
--- a/NWGNUmakefile
+++ b/NWGNUmakefile
@@ -350,6 +350,16 @@ installdev :: FORCE
-copy $(subst /,\,$(APR))\*.imp $(INSTALL)\Apache2\lib\*.*
-copy $(subst /,\,$(NWOS))\*.xdc $(INSTALL)\Apache2\lib\*.*
+prebuild :: FORCE
+ $(MAKE) -C server -f NWGNUMakefile
+ $(MAKE) -C srclib/pcre -f NWGNUMakefile
+ $(MAKE) -C $(APU_WORK)/uri -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 $(APU_WORK)\uri\$(basename $(OBJDIR))\*.nlm $(PREBUILD_INST)\*.*
+
+
#
# Any specialized rules here
#
diff --git a/build/NWGNUenvironment.inc b/build/NWGNUenvironment.inc
index 8ff634a177..15f3b4143a 100644
--- a/build/NWGNUenvironment.inc
+++ b/build/NWGNUenvironment.inc
@@ -276,6 +276,7 @@ PCRE = $(AP_WORK)/srclib/pcre
APRTEST = $(APR_WORK)/test
HTTPD = $(AP_WORK)/modules/http
XML = $(APU_WORK)/xml
+PREBUILD_INST = $(AP_WORK)\nwprebuild
#
# Internal Libraries
diff --git a/build/NWGNUhead.inc b/build/NWGNUhead.inc
index dbb3f9597f..cdbaf2728f 100644
--- a/build/NWGNUhead.inc
+++ b/build/NWGNUhead.inc
@@ -68,10 +68,14 @@ help :
@echo You can also specify RELEASE=debug, RELEASE=noopt, or RELEASE=optimized
@echo The default is RELEASE=optimized
-clobber_all :: clean clobber_install
+clobber_all :: clean clobber_install clobber_prebuild
clobber_install ::
-$(DELTREE) $(INSTALL) 2>NUL
+
+clobber_prebuild ::
+ $(CHK) $(PREBUILD_INST)\*.* $(DEL) $(PREBUILD_INST)\*.*
+ -$(DELTREE) $(PREBUILD_INST) 2> NUL
#
# build recursive targets
diff --git a/docs/manual/platform/netware.xml b/docs/manual/platform/netware.xml
index 500c75db16..8436217dbf 100644
--- a/docs/manual/platform/netware.xml
+++ b/docs/manual/platform/netware.xml
@@ -516,28 +516,14 @@
Download the source code and unzip to an appropriate directory on
your workstation.
- Change directory to \httpd-2.0\srclib\apr-util\uri
and build
- GENURI.nlm
by running "gmake -f nwgnumakefile
".
-
- Copy the file GENURI.nlm
to the SYS:
volume
- of a NetWare server and run using the following command:
- SYS:\genuri > sys:\uri_delims.h
+ Change directory to \httpd-2.0
and build the prebuild utilities
+ by running "gmake -f nwgnumakefile prebuild
". This target will create
+ the directory \httpd-2.0\nwprebuild
and copy each of the utilities
+ to this location that are necessary to complete the following build steps.
- Copy the file uri_delims.h
to the directory
- \httpd-2.0\srclib\apr-util\uri
on the build machine.
-
- Change directory to \httpd-2.0\srclib\apr
and build APR
- by running "gmake -f nwgnumakefile
"
-
- Change directory to \httpd-2.0\srclib\pcre
and build
- DFTABLES.nlm
by running "gmake -f nwgnumakefile
"
-
- Change directory to \httpd-2.0\server
and build
- GENCHARS.nlm
by running "gmake -f nwgnumakefile
"
-
- Copy the files GENCHARS.nlm
and DFTABLES.nlm
- from their respective directories to the SYS:
volume of a
+ Copy the files \httpd-2.0\nwprebuild\GENCHARS.nlm
and
+ \httpd-2.0\nwprebuild\DFTABLES.nlm
to the SYS:
volume of a
NetWare server and run them using the following commands:
SYS:\genchars > sys:\test_char.h
@@ -572,12 +558,15 @@
distribution with binaries, docs and additional support files in a
\dist\Apache2
directory.
+ gmake -f nwgnumakefile prebuild
Builds all of the prebuild utilities
+ and copies them to the \nwprebuild
directory.
+
gmake -f nwgnumakefile installdev
Same as install but also creates a
\lib
and \include
directory in the destination directory
and copies headers and import files.
gmake -f nwgnumakefile clean
Cleans all object files and binaries
- from the \release
or \debug
build areas depending on whether
+ from the \release.o
or \debug.o
build areas depending on whether
DEBUG
has been defined.
gmake -f nwgnumakefile clobber_all
Same as clean and also deletes