From e8ec7aa8e38a93f5b034ac74cebce5de23710317 Mon Sep 17 00:00:00 2001 From: hongbotian Date: Mon, 30 Nov 2015 01:45:08 -0500 Subject: upload http JIRA: BOTTLENECK-10 Change-Id: I7598427ff904df438ce77c2819ee48ac75ffa8da Signed-off-by: hongbotian --- rubbos/app/httpd-2.0.64/build/prebuildNW.bat | 47 ++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100755 rubbos/app/httpd-2.0.64/build/prebuildNW.bat (limited to 'rubbos/app/httpd-2.0.64/build/prebuildNW.bat') diff --git a/rubbos/app/httpd-2.0.64/build/prebuildNW.bat b/rubbos/app/httpd-2.0.64/build/prebuildNW.bat new file mode 100755 index 00000000..0ce59f1e --- /dev/null +++ b/rubbos/app/httpd-2.0.64/build/prebuildNW.bat @@ -0,0 +1,47 @@ +@echo off + +if not "%NovellLibC%" == "" goto CheckNDK +set NovellLibC=\novell\ndk\libc +@echo Could not find the NovellLibC environment variable +@echo Setting NovellLibC = %NovellLibC% +@echo --------------------- + +:CheckNDK +if exist %NovellLibC%\include\netware.h goto NDKOK +@echo The path to the NDK "%NovellLibC%" is invalid. +@echo Please set then NovellLibC environment variable to the location of the NDK +@echo --------------------- +goto Done + +:NDKOK +@echo # As part of the pre-build process, the utilities GenChars.NLM +@echo # (Gen Test Chars) and DFTables.NLM (dftables) must be built, +@echo # copied to a NetWare server and run using the following commands: +@echo # +@echo # "sys:\genchars >sys:\test_char.h" +@echo # "sys:\dftables >sys:\chartables.c" +@echo # +@echo # The files "sys:\test_chars.h" and "sys:\chartables.c" must be +@echo # copied to "httpd\os\netware" on the build machine. + +@echo Fixing up the APR headers +copy ..\srclib\apr\include\apr.hnw ..\srclib\apr\include\apr.h + +@echo Fixing up the APR-Util headers +copy ..\srclib\apr-util\include\apu.hnw ..\srclib\apr-util\include\apu.h +copy ..\srclib\apr-util\include\apr_ldap.hnw ..\srclib\apr-util\include\apr_ldap.h + +@echo Fixing up the pcre headers +copy ..\srclib\pcre\config.hw ..\srclib\pcre\config.h +copy ..\srclib\pcre\pcre.hw ..\srclib\pcre\pcre.h + +@echo Generating the import lists... +set MWCIncludes=..\include;..\modules\http;..\modules\aaa;..\os\netware;..\server\mpm\netware;..\srclib\apr\include;..\srclib\apr-util\include;+%NovellLibC% +mwccnlm -P nw_export.inc -d NETWARE -d CORE_PRIVATE -EP +awk -f make_nw_export.awk nw_export.i |sort >..\os\netware\httpd.imp + +rem cd ..\srclib\apr\build +rem call prebuildnw.bat + +:Done +pause -- cgit 1.2.3-korg