summaryrefslogtreecommitdiff
path: root/build/prebuildNW.bat
diff options
context:
space:
mode:
authorbnicholes <bnicholes@13f79535-47bb-0310-9956-ffa450edef68>2001-10-19 19:25:03 +0000
committerbnicholes <bnicholes@13f79535-47bb-0310-9956-ffa450edef68>2001-10-19 19:25:03 +0000
commit22bbf6b39c407a7f63e9cc7637f094e83d96678a (patch)
tree2229ca8cd74e185ab521ca25da802ced85cb11f8 /build/prebuildNW.bat
parent834368ed9567485a91acd313bd3389780cb634c0 (diff)
downloadlibapr-22bbf6b39c407a7f63e9cc7637f094e83d96678a.tar.gz
Scripts for configuring the build environment on NetWare
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@62442 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'build/prebuildNW.bat')
-rwxr-xr-xbuild/prebuildNW.bat25
1 files changed, 25 insertions, 0 deletions
diff --git a/build/prebuildNW.bat b/build/prebuildNW.bat
new file mode 100755
index 000000000..9bdd3d566
--- /dev/null
+++ b/build/prebuildNW.bat
@@ -0,0 +1,25 @@
+# As part of the pre-build process, the utility GenURI.NLM
+# (Gen URI Delims) must be built, copied to a NetWare server
+# and run using the following command:
+#
+# genuri >uri_delims.h
+#
+# The file "sys:\uri_delims.h" must then be copied to
+# "apr-util\uri\uri_delims.h" on the build machine.
+
+# Fix up the APR headers
+copy ..\include\apr.hnw ..\include\apr.h
+
+# Fix up the APR-Util headers
+copy ..\..\apr-util\include\apu.h.in ..\..\apr-util\include\apu.h
+copy ..\..\apr-util\include\private\apu_config.hw ..\..\apr-util\include\private\apu_config.h
+copy ..\..\apr-util\xml\expat\lib\expat.h.in ..\..\apr-util\xml\expat\lib\expat.h
+copy ..\..\apr-util\include\private\apu_select_dbm.hw ..\..\apr-util\include\private\apu_select_dbm.h
+
+# Fix up the pcre headers
+copy ..\..\pcre\config.hw ..\..\pcre\config.h
+copy ..\..\pcre\pcre.hw ..\..\pcre\pcre.h
+
+# Generate the import list
+awk95 -f make_nw_export.awk ..\include\*.h |sort > ..\misc\netware\aprlib.imp
+awk95 -f make_nw_export.awk ..\..\apr-util\include\*.h |sort > ..\misc\netware\aprutil.imp \ No newline at end of file