prebuildNW.bat revision ccc708e8694746878551e07afab3b9a4f14cee84
@echo off
if not "%NovellNDK%" == "" goto CheckNDK
set NovellNDK=\novell\ndk\libc
@echo Could not find the NovellNDK environment variable
@echo Setting NovellNDK = %NovellNDK%
@echo ---------------------
:CheckNDK
if exist %NovellNDK%\include\netware.h goto NDKOK
@echo The path to the NDK "%NovellNDK%" is invalid.
@echo Please set then NovellNDK 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
@echo Fixing up the APR-Util headers
@echo Fixing up the pcre headers
@echo Generating the import lists...
set MWCIncludes=..\include;..\modules\http;..\os\netware;..\server\mpm\netware;..\srclib\apr\include;..\srclib\apr-util\include;+%NovellNDK%
mwccnlm -P nw_export.inc -d NETWARE -d CORE_PRIVATE -EP
rem cd ..\srclib\apr\build
rem call prebuildnw.bat
:Done
pause