3
if not "%NovellLibC%" == "" goto CheckNDK
4
set NovellLibC=\novell\ndk\libc
5
@echo Could not find the NovellLibC environment variable
6
@echo Setting NovellLibC = %NovellLibC%
7
@echo ---------------------
10
if exist %NovellLibC%\include\netware.h goto NDKOK
11
@echo The path to the NDK "%NovellLibC%" is invalid.
12
@echo Please set then NovellLibC environment variable to the location of the NDK
13
@echo ---------------------
17
@echo # As part of the pre-build process, the utilities GenChars.NLM
18
@echo # (Gen Test Chars) and DFTables.NLM (dftables) must be built,
19
@echo # copied to a NetWare server and run using the following commands:
21
@echo # "sys:\genchars >sys:\test_char.h"
22
@echo # "sys:\dftables >sys:\chartables.c"
24
@echo # The files "sys:\test_chars.h" and "sys:\chartables.c" must be
25
@echo # copied to "httpd\os\netware" on the build machine.
27
@echo Fixing up the APR headers
28
copy ..\srclib\apr\include\apr.hnw ..\srclib\apr\include\apr.h
30
@echo Fixing up the APR-Util headers
31
copy ..\srclib\apr-util\include\apu.hnw ..\srclib\apr-util\include\apu.h
32
copy ..\srclib\apr-util\include\apr_ldap.hnw ..\srclib\apr-util\include\apr_ldap.h
34
@echo Fixing up the pcre headers
35
copy ..\srclib\pcre\config.hw ..\srclib\pcre\config.h
36
copy ..\srclib\pcre\pcre.hw ..\srclib\pcre\pcre.h
38
@echo Generating the import lists...
39
set MWCIncludes=..\include;..\modules\http;..\modules\aaa;..\os\netware;..\server\mpm\netware;..\srclib\apr\include;..\srclib\apr-util\include;+%NovellLibC%
40
mwccnlm -P nw_export.inc -d NETWARE -d CORE_PRIVATE -EP
41
awk -f make_nw_export.awk nw_export.i |sort >..\os\netware\httpd.imp
43
rem cd ..\srclib\apr\build
44
rem call prebuildnw.bat