]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
NetWare build overhaul in order to compile on Linux.
authorGuenter Knauf <fuankg@apache.org>
Thu, 31 Mar 2011 23:53:41 +0000 (23:53 +0000)
committerGuenter Knauf <fuankg@apache.org>
Thu, 31 Mar 2011 23:53:41 +0000 (23:53 +0000)
Backport of (hopefully) all recent HEAD changes to the
NetWare build system related to building on Linux.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x@1087510 13f79535-47bb-0310-9956-ffa450edef68

91 files changed:
NWGNUmakefile
build/NWGNUenvironment.inc
build/NWGNUhead.inc
build/NWGNUmakefile
build/NWGNUscripts.inc
build/NWGNUtail.inc
build/make_nw_export.awk
modules/NWGNUmakefile
modules/aaa/NWGNUauthbasc
modules/aaa/NWGNUauthdigt
modules/aaa/NWGNUauthnalias
modules/aaa/NWGNUauthnano
modules/aaa/NWGNUauthndbd
modules/aaa/NWGNUauthndbm
modules/aaa/NWGNUauthndef
modules/aaa/NWGNUauthnfil
modules/aaa/NWGNUauthnzldap
modules/aaa/NWGNUauthzdbm
modules/aaa/NWGNUauthzdef
modules/aaa/NWGNUauthzgrp
modules/aaa/NWGNUauthzusr
modules/aaa/NWGNUmakefile
modules/cache/NWGNUdsk_cach
modules/cache/NWGNUmakefile
modules/cache/NWGNUmem_cach
modules/cache/NWGNUmod_cach
modules/database/NWGNUmakefile
modules/dav/fs/NWGNUmakefile
modules/dav/lock/NWGNUmakefile
modules/dav/main/NWGNUmakefile
modules/debug/NWGNUmakefile
modules/debug/NWGNUmodbucketeer
modules/debug/NWGNUmoddumpio
modules/echo/NWGNUmakefile
modules/experimental/NWGNUcase_flt
modules/experimental/NWGNUcase_flt_in
modules/experimental/NWGNUexample
modules/experimental/NWGNUmakefile
modules/filters/NWGNUcharsetl
modules/filters/NWGNUdeflate
modules/filters/NWGNUextfiltr
modules/filters/NWGNUmakefile
modules/filters/NWGNUmod_filter
modules/filters/NWGNUreqtimeout
modules/filters/NWGNUsubstitute
modules/generators/NWGNUautoindex
modules/generators/NWGNUinfo
modules/generators/NWGNUmakefile
modules/generators/NWGNUmod_asis
modules/generators/NWGNUmod_cgi
modules/generators/NWGNUstatus
modules/ldap/NWGNUmakefile
modules/loggers/NWGNUforensic
modules/loggers/NWGNUmakefile
modules/loggers/NWGNUmodlogio
modules/mappers/NWGNUactions
modules/mappers/NWGNUimagemap
modules/mappers/NWGNUmakefile
modules/mappers/NWGNUrewrite
modules/mappers/NWGNUspeling
modules/mappers/NWGNUuserdir
modules/mappers/NWGNUvhost
modules/metadata/NWGNUcernmeta
modules/metadata/NWGNUexpires
modules/metadata/NWGNUheaders
modules/metadata/NWGNUmakefile
modules/metadata/NWGNUmimemagi
modules/metadata/NWGNUmodident
modules/metadata/NWGNUmodversion
modules/metadata/NWGNUuniqueid
modules/metadata/NWGNUusertrk
modules/proxy/NWGNUmakefile
modules/proxy/NWGNUproxy
modules/proxy/NWGNUproxyajp
modules/proxy/NWGNUproxybalancer
modules/proxy/NWGNUproxycon
modules/proxy/NWGNUproxyftp
modules/proxy/NWGNUproxyhtp
modules/proxy/NWGNUproxyscgi
modules/ssl/NWGNUmakefile
server/NWGNUmakefile
srclib/pcre/NWGNUmakefile
support/NWGNUab
support/NWGNUhtcacheclean
support/NWGNUhtdbm
support/NWGNUhtdigest
support/NWGNUhtpasswd
support/NWGNUhttxt2dbm
support/NWGNUlogres
support/NWGNUmakefile
support/NWGNUrotlogs

index 61a3526046b5564d95d6add13b30e263e6693b47..ecba7eaa4ce60e87106ea87b3472b12664479c83 100644 (file)
@@ -45,7 +45,7 @@ SUBDIRS = \
 # paths to tools
 #
 
-include $(AP_WORK)\build\NWGNUhead.inc
+include $(AP_WORK)/build/NWGNUhead.inc
 
 #
 # build this level's files
@@ -165,7 +165,7 @@ NLM_SCREEN_NAME = Apache $(VERSION_STR) for NetWare
 
 #
 # If this is specified, it will override VERSION value in
-# $(AP_WORK)\build\NWGNUenvironment.inc
+# $(AP_WORK)/build/NWGNUenvironment.inc
 #
 NLM_VERSION    =
 
@@ -178,12 +178,12 @@ NLM_STACK_SIZE    = 65536
 #
 # If this is specified it will be used by the link '-entry' directive
 #
-NLM_ENTRY_SYM  = _LibCPrelude
+NLM_ENTRY_SYM  =
 
 #
 # If this is specified it will be used by the link '-exit' directive
 #
-NLM_EXIT_SYM   = _LibCPostlude
+NLM_EXIT_SYM   =
 
 #
 # If this is specified it will be used by the link '-check' directive
@@ -281,7 +281,7 @@ endif
 # These will be added as a library command in the link.opt file.
 #
 FILES_nlm_libs = \
-       libcpre.o \
+       $(PRELUDE) \
        $(EOLIST)
 
 #
@@ -313,7 +313,7 @@ FILE_nlm_copyright =
 #
 FILES_nlm_Ximports = \
        @netware.imp \
-       @$(APR)/aprlib.imp \
+       @aprlib.imp \
        @libc.imp \
        GetCurrentAddressSpace \
        $(EOLIST)
@@ -328,7 +328,7 @@ endif
 # Any symbols exported to here
 #
 FILES_nlm_exports = \
-       @$(NWOS)/httpd.imp \
+       @httpd.imp \
        $(EOLIST)
 
 #
@@ -348,7 +348,7 @@ nlms :: libs $(TARGET_nlm)
 
 #
 # Updated this target to create necessary directories and copy files to the
-# correct place.  (See $(AP_WORK)\build\NWGNUhead.inc for examples)
+# correct place.  (See $(AP_WORK)/build/NWGNUhead.inc for examples)
 #
 install :: nlms instscripts FORCE
        -copy $(OBJDIR)\$(NLM_NAME).nlm  $(INSTALL)\$(BASEDIR)\*.*
@@ -414,8 +414,8 @@ vpath %.c os/netware:server/mpm/netware:srclib/pcre
 # in this makefile
 #
 
-include $(AP_WORK)\build\NWGNUtail.inc
+include $(APBUILD)/NWGNUtail.inc
 
-include $(AP_WORK)\build\NWGNUscripts.inc
+include $(AP_WORK)/build/NWGNUscripts.inc
 
 
index e318b0e295b3eb73db8484436e43baa2ad748d90..713264d92bf29e42943d3e69735c665bb98d1971 100644 (file)
@@ -2,9 +2,9 @@
 # Setup needed Tools and Libraries
 #
 
-ifeq "$(wildcard $(AP_WORK)\NWGNUcustom.ini)" "$(AP_WORK)\NWGNUcustom.ini"
-include $(AP_WORK)\NWGNUcustom.ini
-CUSTOM_INI = $(AP_WORK)\NWGNUcustom.ini
+ifeq "$(wildcard $(AP_WORK)/NWGNUcustom.ini)" "$(AP_WORK)/NWGNUcustom.ini"
+include $(AP_WORK)/NWGNUcustom.ini
+CUSTOM_INI = $(AP_WORK)/NWGNUcustom.ini
 endif
 
 ifndef VERBOSE
@@ -49,13 +49,20 @@ ifneq "$(wildcard $(LDAPSDK)/inc/ldap.h)" "$(LDAPSDK)/inc/ldap.h"
 $(error LDAPSDK does not point to a valid Novell CLDAP SDK) 
 endif
 
+#ifndef PCRESRC
+PCRESRC = $(AP_WORK)/srclib/pcre
+#endif
+ifneq "$(wildcard $(PCRESRC)/pcre-config.in)" "$(PCRESRC)/pcre-config.in"
+$(error PCRESRC does not point to a valid PCRE source tree) 
+endif
+
 # This is a placeholder
 # ifndef ZLIBSDK
 # ZLIBSDK = C:/novell/ndk/zlibsdk
 # endif
 
 ifndef METROWERKS
-METROWERKS = C:\Program Files\Metrowerks\CodeWarrior
+METROWERKS = $(ProgramFiles)\Metrowerks\CodeWarrior
 endif
 
 # If LM_LICENSE_FILE isn't defined, define a variable that can be used to
@@ -109,6 +116,9 @@ endif
 
 OBJDIR = obj_$(RELEASE)
 
+# Define minimum APR version to check for
+APR_WANTED = 1003000
+
 #
 # Setup compiler information
 #
@@ -123,21 +133,61 @@ WIN_CC    = mwcc
 # Setup build tools
 AWK    = awk
 
+# Setup distribution tools
+ZIP    = zip -qr9
+7ZA    = 7za >NUL a
+
+#
+# Declare Command and tool macros here
+#
+
+ifeq ($(findstring /sh,$(SHELL)),/sh)
+DEL    = rm -f $1
+RMDIR  = rm -fr $1
+MKDIR  = mkdir -p $1
+COPY   = -cp -afv $1 $2
+#COPYR = -cp -afr $1/* $2
+COPYR  = -rsync -aC $1/* $2
+ECHONL = echo ""
+DL     = '
+CAT    = cat
+else
+ifeq "$(OS)" "Windows_NT"
+DEL    = $(shell if exist $(subst /,\,$1) del /q /f 2>NUL $(subst /,\,$1))
+RMDIR  = $(shell if exist $(subst /,\,$1)\NUL rd /q /s 2>NUL $(subst /,\,$1))
+else
+DEL    = $(shell if exist $(subst /,\,$1) del 2>NUL $(subst /,\,$1))
+RMDIR  = $(shell if exist $(subst /,\,$1)\NUL deltree /y 2>NUL $(subst /,\,$1))
+endif
+ECHONL = $(ComSpec) /c echo.
+MKDIR  = $(shell if not exist $(subst /,\,$1)\NUL md 2>NUL $(subst /,\,$1))
+COPY   = -copy /y 2>NUL $(subst /,\,$1) $(subst /,\,$2)
+COPYR  = -xcopy /q /y /e 2>NUL $(subst /,\,$1) $(subst /,\,$2)
+CAT    = type
+endif
+
 ifdef IPV6
 ifndef USE_STDSOCKETS
 USE_STDSOCKETS=1
 endif
 endif
 
-NOVI   = $(NOVELLLIBC)\imports
+NOVI   = $(NOVELLLIBC)/imports
+PRELUDE        = $(NOVI)/libcpre.o
 
-INCDIRS = $(NOVELLLIBC)\include;$(NOVELLLIBC)\include\nks;$(NOVELLLIBC)\include\winsock;
+INCDIRS        = $(NOVELLLIBC)/include;
+ifndef USE_STDSOCKETS
+INCDIRS        += $(NOVELLLIBC)/include/winsock;
+endif
 ifneq "$(LDAPSDK)" ""
-INCDIRS := $(INCDIRS);$(LDAPSDK)/inc
+INCDIRS += $(LDAPSDK)/inc;
 endif
 ifneq "$(ZLIBSDK)" ""
-INCDIRS := $(INCDIRS);$(ZLIBSDK)
+INCDIRS += $(ZLIBSDK);
 endif
+#ifneq "$(PCRESRC)" ""
+#INCDIRS += $(PCRESRC);
+#endif
 
 DEFINES        = -DNETWARE 
 ifndef USE_STDSOCKETS
@@ -154,16 +204,23 @@ VERSION_SKT = (WINSOCK)
 endif
 
 # MetroWerks static Libraries
-CLIB3S = $(METROWERKS)\Novell Support\Metrowerks Support\Libraries\Runtime\mwcrtl.lib
+CLIB3S = $(METROWERKS)/Novell Support/Metrowerks Support/Libraries/Runtime/mwcrtl.lib
 MATH3S =
-PLIB3S = $(METROWERKS)\Novell Support\Metrowerks Support\Libraries\MSL C++\MWCPP.lib
+PLIB3S = $(METROWERKS)/Novell Support/Metrowerks Support/Libraries/MSL C++/MWCPP.lib
 
-# MetroWerks Win32 build flags to create build tool
-MWCW_MSL   = "$(METROWERKS)/MSL"
-MWCW_W32   = "$(METROWERKS)/Win32-x86 Support"
-WIN_CFLAGS =  -O2 -gccinc -nodefaults -proc 586 -w off
-WIN_CFLAGS += -ir $(MWCW_MSL) -ir $(MWCW_W32) -lr $(MWCW_MSL) -lr $(MWCW_W32)
-WIN_CFLAGS += -lMSL_All_x86.lib -lkernel32.lib -luser32.lib
+ifeq "$(OS)" "Windows_NT"
+# MetroWerks Win32 build flags to create build tools
+MWCW_MSL    = "$(METROWERKS)/MSL"
+MWCW_W32    = "$(METROWERKS)/Win32-x86 Support"
+HOST_CC     = $(WIN_CC)
+HOST_CFLAGS =  -O2 -gccinc -nodefaults -proc 586 -w off
+HOST_CFLAGS += -ir $(MWCW_MSL) -ir $(MWCW_W32) -lr $(MWCW_MSL) -lr $(MWCW_W32)
+HOST_CFLAGS += -lMSL_All_x86.lib -lkernel32.lib -luser32.lib
+else
+# GNUC build flags to create build tools
+HOST_CC     = gcc
+HOST_CFLAGS = -Wall -O2
+endif
 
 # Base compile flags
 # and prefix or precompiled header added here.
@@ -179,7 +236,7 @@ WIN_CFLAGS += -lMSL_All_x86.lib -lkernel32.lib -luser32.lib
 # -proc PII             generate code base on Pentium II instruction set
 # -inst mmx             use MMX extensions (Not used)
 
-CFLAGS = -c -nosyspath -Cpp_exceptions off -RTTI off -align 4 -w nocmdline -proc PII 
+CFLAGS = -c -nosyspath -Cpp_exceptions off -RTTI off -align 4 -w nocmdline -proc PII
 
 ifeq "$(REQUIRE_PROTOTYPES)" "1"
 CFLAGS += -r
@@ -187,7 +244,6 @@ endif
 
 # -g                    generate debugging information
 # -O0                   level 0 optimizations
-
 ifeq "$(RELEASE)" "debug"
 CFLAGS += -g -O0
 endif
@@ -198,52 +254,58 @@ CFLAGS += -O4,p
 endif
 
 # -prefix pre_nw.h      #include pre_nw.h for all files
-
 CFLAGS += -prefix pre_nw.h
 
 
+ifneq ($(findstring /sh,$(SHELL)),/sh)
 PATH:=$(PATH);$(METROWERKS)\bin;$(METROWERKS)\Other Metrowerks Tools\Command Line Tools
+endif
 
 #
 # Declare major project deliverables output directories here
 #
 
+ifndef PORT
+PORT = 80
+endif
+
+ifndef SSLPORT
+SSLPORT = 443
+endif
+
 ifdef DEST
-INSTALL = $(DEST)
-ifeq (\, $(findstring \,$(INSTALL)))
-INSTDIRS = $(DEST)
+INSTALL = $(subst \,/,$(DEST))
+ifeq (/, $(findstring /,$(INSTALL)))
+INSTDIRS = $(INSTALL)
 endif
 endif
 
 ifdef dest
-INSTALL = $(dest)
-ifeq (\, $(findstring \,$(INSTALL)))
-INSTDIRS = $(dest)
+INSTALL = $(subst \,/,$(dest))
+ifeq (/, $(findstring /,$(INSTALL)))
+INSTDIRS = $(INSTALL)
 endif
 endif
 
 ifndef INSTALL
-INSTALL = $(AP_WORK)\Dist
-INSTDIRS = $(AP_WORK)\Dist
+INSTALL = $(AP_WORK)/Dist
+INSTDIRS = $(INSTALL)
 endif
 
+ifeq ($(MAKECMDGOALS),installdev)
 ifndef BASEDIR
-BASEDIR = Apache22
-export BASEDIR
+export BASEDIR = apache_$(VERSION_STR)-sdk
 endif
-
-ifndef PORT
-PORT = 80
+else
+ifndef BASEDIR
+export BASEDIR = Apache$(VERSION_MAJMIN)
 endif
-
-ifndef SSLPORT
-SSLPORT = 443
 endif
 
 # Add support for building IPV6 alongside
 ifneq "$(IPV6)" ""
 DEFINES += -DNW_BUILD_IPV6
-# INCDIRS := $(NOVELLLIBC)\include\winsock\IPV6;$(INCDIRS)
+# INCDIRS := $(NOVELLLIBC)/include/winsock/IPV6;$(INCDIRS)
 
 ifneq "$(findstring IPV6,$(OBJDIR))" "IPV6"
 OBJDIR := $(OBJDIR)_IPV6
@@ -259,71 +321,51 @@ endif
 
 endif
 
-INSTDEVDIRS := \
-       $(INSTDIRS) \
-       $(INSTALL)\$(BASEDIR)\include \
-       $(INSTALL)\$(BASEDIR)\lib \
+INSTALLBASE = $(INSTALL)/$(BASEDIR)
 
-INSTDIRS += \
-       $(INSTALL)\$(BASEDIR) \
-       $(INSTALL)\$(BASEDIR)\bin \
-       $(INSTALL)\$(BASEDIR)\cgi-bin \
-       $(INSTALL)\$(BASEDIR)\conf \
-       $(INSTALL)\$(BASEDIR)\error \
-       $(INSTALL)\$(BASEDIR)\htdocs \
-       $(INSTALL)\$(BASEDIR)\icons \
-       $(INSTALL)\$(BASEDIR)\logs \
-       $(INSTALL)\$(BASEDIR)\man \
-       $(INSTALL)\$(BASEDIR)\manual \
-       $(INSTALL)\$(BASEDIR)\modules \
+INSTDEVDIRS = \
+       $(INSTALL) \
+       $(INSTALLBASE) \
+       $(INSTALLBASE)/build \
+       $(INSTALLBASE)/include \
+       $(INSTALLBASE)/lib \
+       $(EOLIST) 
 
-#
-# Declare Command and tool macros here
-#
-
-# Os2LibPath is an extra check to see if we are on NT
-ifdef Os2LibPath
-OS = Windows_NT
-endif
-
-ifeq "$(OS)" "Windows_NT"
-CMD = cmd /C
-DEL = del /F
-DELTREE = rd /s/q
-WINNT = 1
-XCOPYSW = /E
-else
-CMD = command /C
-DEL = del
-DELTREE = deltree /y
-XCOPYSW = /E /Y
-endif
-
-CHK = $(CMD) if exist
-CHKNOT = $(CMD) if not exist
-
-
-#
-# Setup base C compiler flags
-#
+INSTDIRS += \
+       $(INSTALLBASE) \
+       $(INSTALLBASE)/bin \
+       $(INSTALLBASE)/cgi-bin \
+       $(INSTALLBASE)/conf \
+       $(INSTALLBASE)/conf/extra \
+       $(INSTALLBASE)/error \
+       $(INSTALLBASE)/htdocs \
+       $(INSTALLBASE)/icons \
+       $(INSTALLBASE)/logs \
+       $(INSTALLBASE)/man \
+       $(INSTALLBASE)/manual \
+       $(INSTALLBASE)/modules \
+       $(EOLIST) 
 
 #
 # Common directories
 #
 
-STDMOD         = $(AP_WORK)/modules
-NWOS           = $(AP_WORK)/os/netware
-SERVER         = $(AP_WORK)/server
-SRC            = $(AP_WORK)
-APR            = $(APR_WORK)
-APRUTIL                = $(APU_WORK)
-APULDAP                = $(APU_WORK)/ldap
-SUPMOD         = $(AP_WORK)/support
-PCRE           = $(AP_WORK)/srclib/pcre
-APRTEST                = $(APR_WORK)/test
-HTTPD          = $(AP_WORK)/modules/http
-XML            = $(APU_WORK)/xml
-PREBUILD_INST   = $(AP_WORK)\nwprebuild
+SRC            = $(subst \,/,$(AP_WORK))
+APR            = $(subst \,/,$(APR_WORK))
+APRUTIL                = $(subst \,/,$(APU_WORK))
+APBUILD                = $(SRC)/build
+STDMOD         = $(SRC)/modules
+HTTPD          = $(SRC)/modules/http
+DAV            = $(SRC)/modules/dav
+NWOS           = $(SRC)/os/netware
+SERVER         = $(SRC)/server
+SUPMOD         = $(SRC)/support
+APULDAP                = $(APRUTIL)/ldap
+XML            = $(APRUTIL)/xml
+APRTEST                = $(APR)/test
+PCRE           = $(PCRESRC)
+
+PREBUILD_INST  = $(SRC)/nwprebuild
 
 #
 # Internal Libraries
@@ -333,7 +375,7 @@ APRLIB              = $(APR)/$(OBJDIR)/aprlib.lib
 APRUTLIB       = $(APRUTIL)/$(OBJDIR)/aprutil.lib
 APULDAPLIB     = $(APULDAP)/$(OBJDIR)/apuldap.lib
 STMODLIB       = $(STDMOD)/$(OBJDIR)/stdmod.lib
-PCRELIB                = $(PCRE)/$(OBJDIR)/pcre.lib
+PCRELIB                = $(SRC)/$(OBJDIR)/pcre.lib
 NWOSLIB                = $(NWOS)/$(OBJDIR)/netware.lib
 SERVLIB                = $(SERVER)/$(OBJDIR)/server.lib
 HTTPDLIB       = $(HTTPD)/$(OBJDIR)/httpd.lib
index cdbaf2728fd97ab755847a0c740340f5eedfdb67..78a96db7c6a37e1c2ba3e5a75cdf99e2177168a7 100644 (file)
@@ -2,7 +2,7 @@
 # Obtain the global build environment
 #
 
-include $(AP_WORK)\build\NWGNUenvironment.inc
+include $(AP_WORK)/build/NWGNUenvironment.inc
 
 #
 # Define base targets and rules
@@ -26,7 +26,7 @@ install :: NO_LICENSE_FILE
 installdev :: NO_LICENSE_FILE
 
 NO_LICENSE_FILE :
-       $(MAKE) $(MAKECMDGOALS) -f NWGNUmakefile RELEASE=$(RELEASE) DEST="$(INSTALL)" LM_LICENSE_FILE="$(METROWERKS)\license.dat"
+       $(MAKE) $(MAKECMDGOALS) -f NWGNUmakefile RELEASE=$(RELEASE) DEST="$(INSTALL)" LM_LICENSE_FILE="$(METROWERKS)/license.dat"
 
 else # LM_LICENSE_FILE must be defined so use the real targets
 
@@ -41,41 +41,40 @@ install :: nlms $(INSTDIRS)
 installdev :: $(INSTDEVDIRS)
 
 $(INSTDIRS) ::
-       $(CHKNOT) $@\NUL mkdir $@
+       $(call MKDIR,$@)
 
 $(INSTDEVDIRS) ::
-       $(CHKNOT) $@\NUL mkdir $@
+       $(call MKDIR,$@)
 
 endif #NO_LICENSE_FILE check
 
 help :
-       @echo targets for RELEASE=$(RELEASE):
-       @echo (default) . . . . libs nlms
-       @echo all . . . . . . . does everything (libs nlms install)
-       @echo libs. . . . . . . builds all libs
-       @echo nlms. . . . . . . builds all nlms
-       @echo install . . . . . builds libs and nlms and copies install files to
-       @echo                   "$(INSTALL)"
-       @echo installdev. . . . copies headers and files needed for development to
-       @echo                   "$(INSTALL)"
-       @echo clean . . . . . . deletes $(OBJDIR) dirs, *.err, and *.map
-       @echo clobber_all . . . deletes all possible output from the make
-       @echo clobber_install . deletes all files in $(INSTALL)
-       @$(CMD) echo.
-       @echo Multiple targets can be used on a single nmake command line -
-       @echo (i.e. $(MAKE) clean all)
-       @$(CMD) echo.
-       @echo You can also specify RELEASE=debug, RELEASE=noopt, or RELEASE=optimized
-       @echo The default is RELEASE=optimized
+       @echo $(DL)targets for RELEASE=$(RELEASE):$(DL)
+       @echo $(DL)(default) . . . . libs nlms$(DL)
+       @echo $(DL)all . . . . . . . does everything (libs nlms install)$(DL)
+       @echo $(DL)libs. . . . . . . builds all libs$(DL)
+       @echo $(DL)nlms. . . . . . . builds all nlms$(DL)
+       @echo $(DL)install . . . . . builds libs and nlms and copies install files to$(DL)
+       @echo $(DL)                  "$(INSTALL)"$(DL)
+       @echo $(DL)installdev. . . . copies headers and files needed for development to$(DL)
+       @echo $(DL)                  "$(INSTALL)"$(DL)
+       @echo $(DL)clean . . . . . . deletes $(OBJDIR) dirs, *.err, and *.map$(DL)
+       @echo $(DL)clobber_all . . . deletes all possible output from the make$(DL)
+       @echo $(DL)clobber_install . deletes all files in $(INSTALL)$(DL)
+       @$(ECHONL)
+       @echo $(DL)Multiple targets can be used on a single nmake command line -$(DL)
+       @echo $(DL)(i.e. $(MAKE) clean all)$(DL)
+       @$(ECHONL)
+       @echo $(DL)You can also specify RELEASE=debug, RELEASE=noopt, or RELEASE=optimized$(DL)
+       @echo $(DL)The default is RELEASE=optimized$(DL)
 
 clobber_all :: clean clobber_install clobber_prebuild
 
 clobber_install ::
-       -$(DELTREE) $(INSTALL) 2>NUL
+       $(call RMDIR,$(INSTALL))
         
 clobber_prebuild ::
-       $(CHK) $(PREBUILD_INST)\*.* $(DEL) $(PREBUILD_INST)\*.*
-       -$(DELTREE) $(PREBUILD_INST) 2> NUL
+       $(call RMDIR,$(PREBUILD_INST))
 
 #
 # build recursive targets
@@ -83,11 +82,11 @@ clobber_prebuild ::
 
 $(SUBDIRS) : FORCE
 ifneq "$(MAKECMDGOALS)" "clean"
-       $(CMD) echo.
-       @echo Building $(CURDIR)/$@
+       @$(ECHONL)
+       @echo $(DL)Building $(CURDIR)/$@$(DL)
 endif
        $(MAKE) -C $@ $(MAKECMDGOALS) -f NWGNUmakefile RELEASE=$(RELEASE) DEST="$(INSTALL)" LM_LICENSE_FILE="$(LM_LICENSE_FILE)"
-       $(CMD) echo.
+       @$(ECHONL)
 
 FORCE:
 
@@ -96,15 +95,13 @@ FORCE:
 #
 
 clean :: $(SUBDIRS)
-       @echo Cleaning up $(CURDIR)
-       -$(DELTREE) $(OBJDIR) 2> NUL
-       $(CHK) *.err $(DEL) *.err
-       $(CHK) *.map $(DEL) *.map
-       $(CHK) *.d $(DEL) *.d
-       $(CHK) *.tmp $(DEL) *.tmp
-       $(CHK) xc.bat $(DEL) xc.bat
-       -$(DELTREE) $(OBJDIR) 2> NUL
+       @echo $(DL)Cleaning up $(CURDIR)$(DL)
+       $(call RMDIR,$(OBJDIR))
+       $(call DEL,*.err)
+       $(call DEL,*.map)
+       $(call DEL,*.tmp)
+#      $(call DEL,*.d)
 
 $(OBJDIR) ::
-       $(CHKNOT) $(OBJDIR)\nul mkdir $(OBJDIR)
+       $(call MKDIR,$@)
 
index fac1a828ab7e1c19e4a815fac27c9c4a8bc03365..a2618bf89338620d3a2569e8206a0f8f94fec065 100644 (file)
@@ -3,6 +3,7 @@
 #
 
 SUBDIRS = \
+       $(APR_WORK)/build \
        $(EOLIST) 
 
 #
@@ -10,76 +11,74 @@ SUBDIRS = \
 # paths to tools
 #
 
-include $(AP_WORK)\build\NWGNUhead.inc
+include $(AP_WORK)/build/NWGNUhead.inc
 
 #
 # build this level's files
 
 FILES_prebuild_headers = \
-       $(APR)/include/apr.h \
-       $(APRUTIL)/include/apu.h \
-       $(APRUTIL)/include/apr_ldap.h \
        $(NWOS)/test_char.h \
        $(PCRE)/config.h \
        $(PCRE)/pcre.h \
        $(EOLIST) 
     
-nlms :: $(NWOS)/httpd.imp $(NWOS)/chartables.c
+nlms :: libs $(NWOS)/httpd.imp $(DAV)/main/dav.imp
+
+libs :: chkapr $(NWOS)/chartables.c
+
+$(DAV)/main/dav.imp : make_nw_export.awk $(DAV)/main/mod_dav.h
+       @echo $(DL)GEN  $@$(DL)
+       $(AWK) -v EXPPREFIX=AP$(VERSION_MAJMIN) -f $^ >$@
 
 $(NWOS)/httpd.imp : make_nw_export.awk nw_export.i
-       @echo Generating $(subst /,\,$@)
-       $(AWK) -v EXPPREFIX=AP$(VERSION_MAJMIN) -f $^ | sort >$@
+       @echo $(DL)GEN  $@$(DL)
+       $(AWK) -v EXPPREFIX=AP$(VERSION_MAJMIN) -f $^ >$@
     
 nw_export.i : nw_export.inc $(FILES_prebuild_headers) cc.opt
-       @echo Generating $(subst /,\,$@)
+       @echo $(DL)GEN  $@$(DL)
        $(CC) $< @cc.opt
-       
-cc.opt : NWGNUmakefile $(AP_WORK)\build\NWGNUenvironment.inc $(AP_WORK)\build\NWGNUtail.inc $(AP_WORK)\build\NWGNUhead.inc
-       $(CHK) $@ $(DEL) $@
-       @echo -P >> $@
-       @echo -EP >> $@
-       @echo -nosyspath >> $@
-       @echo -w nocmdline >> $@
-       @echo $(DEFINES) >> $@
-       @echo -DCORE_PRIVATE >> $@
-       @echo -I..\include >> $@
-       @echo -I..\modules\http >> $@
-       @echo -I..\modules\aaa >> $@
-       @echo -I..\os\netware >> $@
-       @echo -I..\server\mpm\netware >> $@
-       @echo -I$(APR)\include >> $@
-       @echo -I$(APRUTIL)\include >> $@
-       @echo -ir $(NOVELLLIBC) >> $@
-
-$(APR)/include/%.h: $(subst /,\,$(APR))\include\%.hnw
-       @echo Creating $(subst /,\,$@)
-       copy $< $(subst /,\,$(APR))\include\$(@F)
-
-$(APRUTIL)/include/%.h: $(subst /,\,$(APRUTIL))\include\%.hnw
-       @echo Creating $(subst /,\,$@)
-       copy $< $(subst /,\,$(APRUTIL))\include\$(@F)
-
-$(PCRE)/%.h: $(subst /,\,$(PCRE))\%.hw
-       @echo Creating $(subst /,\,$@)
-       copy $< $(subst /,\,$(PCRE))\$(@F)
+
+cc.opt : NWGNUmakefile $(APBUILD)/NWGNUenvironment.inc $(APBUILD)/NWGNUtail.inc $(APBUILD)/NWGNUhead.inc
+       @echo $(DL)-P$(DL)> $@
+       @echo $(DL)-EP$(DL)>> $@
+       @echo $(DL)-nosyspath$(DL)>> $@
+       @echo $(DL)-w nocmdline$(DL)>> $@
+       @echo $(DL)$(DEFINES)$(DL)>> $@
+       @echo $(DL)-DCORE_PRIVATE$(DL) >> $@
+       @echo $(DL)-I$(SRC)/include$(DL)>> $@
+       @echo $(DL)-I$(HTTPD)$(DL)>> $@
+       @echo $(DL)-I$(STDMOD)/aaa$(DL)>> $@
+       @echo $(DL)-I$(NWOS)$(DL)>> $@
+       @echo $(DL)-I$(SERVER)/mpm/netware$(DL)>> $@
+       @echo $(DL)-I$(APR)/include$(DL)>> $@
+       @echo $(DL)-I$(APRUTIL)/include$(DL)>> $@
+       @echo $(DL)-ir $(NOVELLLIBC)$(DL)>> $@
+
+$(PCRE)/%.h: $(PCRE)/%.h.generic
+       @echo Creating $@
+       $(call COPY,$<,$@)
+
+$(PCRE)/%.h: $(PCRE)/%.hw
+       @echo Creating $@
+       $(call COPY,$<,$@)
 
 ifneq "$(BUILDTOOL_AS_NLM)" "1"
 
-$(NWOS)/chartables.c: dftables.exe $(PCRE)/dftables.c $(FILES_prebuild_headers)
-       @echo Creating $(subst /,\,$@)
-       @$< $@
+$(NWOS)/chartables.c: dftables.exe $(PCRE)/dftables.c
+       @echo $(DL)GEN  $@$(DL)
+       $< $@
 
-%.exe: $(PCRE)/%.c
-       @echo Creating Build Helper $@
-       @$(WIN_CC) $(WIN_CFLAGS) $< -o $@
+%.exe: $(PCRE)/%.c $(PCRE)/config.h $(PCRE)/pcre.h
+       @echo $(DL)Creating Build Helper $@$(DL)
+       $(HOST_CC) $(HOST_CFLAGS) -DHAVE_CONFIG_H $< -o $@
 
-$(NWOS)/test_char.h: gen_test_char.exe $(AP_WORK)/server/gen_test_char.c
-       @echo Creating $(subst /,\,$@)
-       @$< > $@
+$(NWOS)/test_char.h: gen_test_char.exe $(SERVER)/gen_test_char.c
+       @echo $(DL)GEN  $@$(DL)
+       $< > $@
 
-%.exe: $(AP_WORK)/server/%.c
-       @echo Creating Build Helper $@
-       @$(WIN_CC) $(WIN_CFLAGS) -DCROSS_COMPILE $< -o $@
+%.exe: $(SERVER)/%.c
+       @echo $(DL)Creating Build Helper $@$(DL)
+       $(HOST_CC) $(HOST_CFLAGS) -DCROSS_COMPILE $< -o $@
 
 else
 
@@ -93,6 +92,13 @@ endif
 
 endif
 
+#
+# Check for minimum APR version
+#
+chkapr: $(APR)/build/nw_ver.awk $(APR)/include/apr_version.h
+       @echo $(DL)Checking for APR version...$(DL)
+       $(AWK) -v WANTED=$(APR_WANTED) -f $^
+
 #
 # You can use this target if all that is needed is to copy files to the
 # installation area
@@ -100,18 +106,19 @@ endif
 install :: nlms FORCE
 
 clean ::
-       $(CHK) nw_export.i                                 $(DEL) nw_export.i
-       $(CHK) cc.opt                                      $(DEL) cc.opt
-       $(CHK) NWGNUversion.inc                            $(DEL) NWGNUversion.inc
-       $(CHK) $(subst /,\,$(PCRE))\config.h               $(DEL) $(subst /,\,$(PCRE))\config.h
-       $(CHK) $(subst /,\,$(PCRE))\pcre.h                 $(DEL) $(subst /,\,$(PCRE))\pcre.h
-       $(CHK) $(subst /,\,$(NWOS))\httpd.imp              $(DEL) $(subst /,\,$(NWOS))\httpd.imp
-       $(MAKE) -C $(APR) -f NWGNUmakefile clean
+       $(call DEL,$(SRC)/include/ap_config_layout.h)
+       $(call DEL,$(PCRE)/config.h)
+       $(call DEL,$(PCRE)/pcre.h)
+       $(call DEL,$(DAV)/main/dav.imp)
+       $(call DEL,$(NWOS)/httpd.imp)
+       $(call DEL,nw_export.i)
+       $(call DEL,cc.opt)
+       $(call DEL,NWGNUversion.inc)
 ifneq "$(BUILDTOOL_AS_NLM)" "1"
-       $(CHK) $(subst /,\,$(NWOS))\chartables.c           $(DEL) $(subst /,\,$(NWOS))\chartables.c
-       $(CHK) $(subst /,\,$(NWOS))\test_char.h            $(DEL) $(subst /,\,$(NWOS))\test_char.h
-       $(CHK) dftables.exe                                $(DEL) dftables.exe
-       $(CHK) gen_test_char.exe                           $(DEL) gen_test_char.exe
+       $(call DEL,$(NWOS)/chartables.c)
+       $(call DEL,$(NWOS)/test_char.h)
+       $(call DEL,dftables.exe)
+       $(call DEL,gen_test_char.exe)
 endif
 
 #
@@ -119,5 +126,5 @@ endif
 # in this makefile
 #
 
-include $(AP_WORK)\build\NWGNUtail.inc
+include $(APBUILD)/NWGNUtail.inc
     
index 090dd9f29ef0990e57819ca29227760d9a784df2..27029ebb744207f50b3ed9235e94440aed82e689 100644 (file)
@@ -1,44 +1,43 @@
 # Include for creating start/stop/restart NCF scripts.
 
-instscripts:: FORCE $(INSTALL)/$(BASEDIR)/ap2start.ncf $(INSTALL)/$(BASEDIR)/ap2auto.ncf $(INSTALL)/$(BASEDIR)/ap2rest.ncf $(INSTALL)/$(BASEDIR)/ap2stop.ncf
-
-$(INSTALL)/$(BASEDIR)/ap2start.ncf:
-       @echo # NCF to start Apache 2.x in own address space > $@
-       @echo # Make sure that httpstk isn't listening on 80 >> $@
-       @echo # httpcloseport 80 /silent >> $@
-       @echo # search add SYS:/$(BASEDIR) >> $@
-       @echo load address space = $(BASEDIR) SYS:/$(BASEDIR)/apache2 >> $@
-       @echo # If you have problems with 3rd-party modules try to load in OS space. >> $@
-       @echo # load SYS:/$(BASEDIR)/apache2 >> $@
-       @echo. >> $@
-
-$(INSTALL)/$(BASEDIR)/ap2auto.ncf:
-       @echo # NCF to start Apache 2.x in own address space > $@
-       @echo # and let automatically restart in case it crashes >> $@
-       @echo # Make sure that httpstk isn't listening on 80 >> $@
-       @echo # httpcloseport 80 /silent >> $@
-       @echo # search add SYS:/$(BASEDIR) >> $@
-       @echo restart address space = $(BASEDIR) SYS:/$(BASEDIR)/apache2 >> $@
-       @echo. >> $@
-
-$(INSTALL)/$(BASEDIR)/ap2rest.ncf:
-       @echo # NCF to restart Apache 2.x in own address space > $@
-       @echo apache2 restart -p $(BASEDIR) >> $@
-       @echo # If you have loaded Apache2.x in OS space use the line below. >> $@
-       @echo # apache2 restart >> $@
-       @echo. >> $@
-
-$(INSTALL)/$(BASEDIR)/ap2stop.ncf:
-       @echo # NCF to stop Apache 2.x in own address space > $@
-       @echo apache2 shutdown -p $(BASEDIR) >> $@
-       @echo # If you have loaded Apache2.x in OS space use the line below. >> $@
-       @echo # apache2 shutdown >> $@
-       @echo. >> $@
-
-$(INSTALL)/$(BASEDIR)/ap2prod.ncf:
-       @echo # NCF to create a product record for Apache 2.x in product database > $@
-       @echo PRODSYNC DEL APACHE$(VERSION_MAJMIN) >> $@
-       @echo PRODSYNC ADD APACHE$(VERSION_MAJMIN) ProductRecord "$(VERSION_STR)" "Apache $(VERSION_STR) Webserver" >> $@
-       @echo. >> $@
-
+instscripts:: FORCE $(INSTALLBASE)/ap2start.ncf $(INSTALLBASE)/ap2auto.ncf $(INSTALLBASE)/ap2rest.ncf $(INSTALLBASE)/ap2stop.ncf
+
+$(INSTALLBASE)/ap2start.ncf:
+       @echo $(DL)# NCF to start Apache 2.x in own address space$(DL)> $@
+       @echo $(DL)# Make sure that httpstk is not listening on 80$(DL)>> $@
+       @echo $(DL)# httpcloseport 80 /silent$(DL)>> $@
+       @echo $(DL)# search add SYS:/$(BASEDIR)$(DL)>> $@
+       @echo $(DL)load address space = $(BASEDIR) SYS:/$(BASEDIR)/apache2$(DL)>> $@
+       @echo $(DL)# If you have problems with 3rd-party modules try to load in OS space.$(DL)>> $@
+       @echo $(DL)# load SYS:/$(BASEDIR)/apache2$(DL)>> $@
+       @$(ECHONL)>> $@
+
+$(INSTALLBASE)/ap2auto.ncf:
+       @echo $(DL)# NCF to start Apache 2.x in own address space$(DL)> $@
+       @echo $(DL)# and let automatically restart in case it crashes$(DL)>> $@
+       @echo $(DL)# Make sure that httpstk is not listening on 80$(DL)>> $@
+       @echo $(DL)# httpcloseport 80 /silent$(DL)>> $@
+       @echo $(DL)# search add SYS:/$(BASEDIR)$(DL)>> $@
+       @echo $(DL)restart address space = $(BASEDIR) SYS:/$(BASEDIR)/apache2$(DL)>> $@
+       @$(ECHONL)>> $@
+
+$(INSTALLBASE)/ap2rest.ncf:
+       @echo $(DL)# NCF to restart Apache 2.x in own address space$(DL)> $@
+       @echo $(DL)apache2 restart -p $(BASEDIR)$(DL)>> $@
+       @echo $(DL)# If you have loaded Apache2.x in OS space use the line below.$(DL)>> $@
+       @echo $(DL)# apache2 restart$(DL)>> $@
+       @$(ECHONL)>> $@
+
+$(INSTALLBASE)/ap2stop.ncf:
+       @echo $(DL)# NCF to stop Apache 2.x in own address space$(DL)> $@
+       @echo $(DL)apache2 shutdown -p $(BASEDIR)$(DL)>> $@
+       @echo $(DL)# If you have loaded Apache2.x in OS space use the line below.$(DL)>> $@
+       @echo $(DL)# apache2 shutdown$(DL)>> $@
+       @$(ECHONL)>> $@
+
+$(INSTALLBASE)/ap2prod.ncf:
+       @echo $(DL)# NCF to create a product record for Apache 2.x in product database$(DL)> $@
+       @echo $(DL)PRODSYNC DEL APACHE$(VERSION_MAJMIN)$(DL)>> $@
+       @echo $(DL)PRODSYNC ADD APACHE$(VERSION_MAJMIN) ProductRecord "$(VERSION_STR)" "Apache $(VERSION_STR) Webserver"$(DL)>> $@
+       @$(ECHONL)>> $@
 
index cc16601329459ad7016bcf30a75eb398efe3f93d..17a63b1a80f765e0fd6a0265f4686ccb602da0a2 100644 (file)
@@ -7,7 +7,6 @@
 # If we are going to create an nlm, make sure we have assigned variables to
 # use during the link.
 #
-#echo NLM_NAME=$(NLM_NAME)
 ifndef NLM_NAME
 NLM_NAME = $(TARGET_nlm)
 endif
@@ -28,32 +27,42 @@ ifndef NLM_COPYRIGHT
 NLM_COPYRIGHT = Licensed under the Apache License, Version 2.0
 endif
 
+ifeq "$(NLM_FLAGS)" ""
+NLM_FLAGS = AUTOUNLOAD, PSEUDOPREEMPTION
+endif
+
+ifeq "$(NLM_STACK_SIZE)" ""
+NLM_STACK_SIZE = 65536
+endif
+
+ifeq "$(NLM_ENTRY_SYM)" ""
+NLM_ENTRY_SYM = _LibCPrelude
+endif
+
+ifeq "$(NLM_EXIT_SYM)" ""
+NLM_EXIT_SYM = _LibCPostlude
+endif
+
+ifeq "$(NLM_VERSION)" ""
+NLM_VERSION = $(VERSION)
+endif
+
 #
 # Create dependency lists based on the files available
 #
 
-CCOPT_DEPENDS  = \
-                               $(AP_WORK)\build\NWGNUhead.inc \
-                               $(AP_WORK)\build\NWGNUenvironment.inc \
-                               $(AP_WORK)\build\NWGNUtail.inc \
-                               NWGNUmakefile \
+STANDARD_DEPENDS       = \
+                               $(APBUILD)/NWGNUhead.inc \
+                               $(APBUILD)/NWGNUenvironment.inc \
+                               $(APBUILD)/NWGNUtail.inc \
                                $(CUSTOM_INI) \
                                $(EOLIST)
 
-CPPOPT_DEPENDS = \
-                               $(AP_WORK)\build\NWGNUhead.inc \
-                               $(AP_WORK)\build\NWGNUenvironment.inc \
-                               $(AP_WORK)\build\NWGNUtail.inc \
-                               NWGNUmakefile \
-                               $(CUSTOM_INI) \
-                               $(EOLIST)
+CCOPT_DEPENDS  = $(STANDARD_DEPENDS)
 
 $(NLM_NAME)_LINKOPT_DEPENDS    = \
                                $(TARGET_lib) \
-                               $(AP_WORK)\build\NWGNUenvironment.inc \
-                               NWGNUmakefile \
-                               $(AP_WORK)\build\NWGNUtail.inc \
-                               $(CUSTOM_INI) \
+                               $(STANDARD_DEPENDS) \
                                $(VERSION_INC) \
                                $(EOLIST)
 
@@ -61,36 +70,41 @@ ifeq "$(words $(strip $(TARGET_lib)))" "1"
 LIB_NAME                       = $(basename $(notdir $(TARGET_lib)))
 $(LIB_NAME)_LIBLST_DEPENDS     = \
                                $(FILES_lib_objs) \
-                               $(AP_WORK)\build\NWGNUenvironment.inc \
-                               NWGNUmakefile \
-                               $(AP_WORK)\build\NWGNUtail.inc \
+                               $(STANDARD_DEPENDS) \
                                $(CUSTOM_INI) \
                                $(EOLIST)
 endif
 
 ifeq "$(wildcard NWGNU$(LIB_NAME))" "NWGNU$(LIB_NAME)"
 $(LIB_NAME)_LIBLST_DEPENDS     += NWGNU$(LIB_NAME)
+CCOPT_DEPENDS  += NWGNU$(LIB_NAME)
+else
+CCOPT_DEPENDS  += NWGNUmakefile
 endif
 
 ifeq "$(wildcard NWGNU$(NLM_NAME))" "NWGNU$(NLM_NAME)"
 $(NLM_NAME)_LINKOPT_DEPENDS    += NWGNU$(NLM_NAME)
-CCOPT_DEPENDS  += NWGNU$(NLM_NAME)
-CPPOPT_DEPENDS         += NWGNU$(NLM_NAME)
+CCOPT_DEPENDS  += NWGNU$(NLM_NAME)
+else
+CCOPT_DEPENDS  += NWGNUmakefile
 endif
 
+CPPOPT_DEPENDS = $(CCOPT_DEPENDS)
+
 #
 # Generic compiler rules
 #
 
 ifneq ($(MAKECMDGOALS),clean)
-$(AP_WORK)\build\NWGNUversion.inc : $(AP_WORK)\build\nw_ver.awk $(AP_WORK)\include\ap_release.h
-       @echo Generating $(subst /,\,$@)
+$(AP_WORK)/build/NWGNUversion.inc : $(AP_WORK)/build/nw_ver.awk $(AP_WORK)/include/ap_release.h
+#      @echo Generating $@
+       @echo $(DL)GEN  $@$(DL)
        $(AWK) -f $^ > $@
 
--include $(AP_WORK)\build\NWGNUversion.inc
+-include $(APBUILD)/NWGNUversion.inc
 
 ifneq "$(strip $(VERSION_STR))" ""
-VERSION_INC = $(AP_WORK)\build\NWGNUversion.inc
+VERSION_INC = $(APBUILD)/NWGNUversion.inc
 else
 VERSION                = 2,2,0
 VERSION_STR    = 2.2.0
@@ -101,56 +115,56 @@ endif
 
 ifeq "$(words $(strip $(TARGET_nlm)))" "1"
 
-$(OBJDIR)/%.o: %.c $(OBJDIR)\$(NLM_NAME)_cc.opt
-       @echo Compiling $<
-       $(CC) $< -o=$(OBJDIR)\$(@F) @$(OBJDIR)\$(NLM_NAME)_cc.opt
+$(OBJDIR)/%.o: %.c $(OBJDIR)/$(NLM_NAME)_cc.opt
+       @echo $(DL)CC   $<$(DL)
+       $(CC) -o $@ $< @$(word 2, $^)
 
-$(OBJDIR)\$(NLM_NAME)_cc.opt: $(CCOPT_DEPENDS)
-       $(CHK) $@ $(DEL) $@
-       @echo Generating $@
+$(OBJDIR)/$(NLM_NAME)_cc.opt: $(CCOPT_DEPENDS)
+       $(call DEL,$@)
+       @echo $(DL)GEN  $@$(DL)
 ifneq "$(strip $(CFLAGS))" ""
-       @echo $(CFLAGS) >> $@
+       @echo $(DL)$(CFLAGS)$(DL)>> $@
 endif
 ifneq "$(strip $(XCFLAGS))" ""
-       @echo $(XCFLAGS) >> $@
+       @echo $(DL)$(XCFLAGS)$(DL)>> $@
 endif
 ifneq "$(strip $(XINCDIRS))" ""
-       @echo $(foreach xincdir,$(strip $(subst ;,$(SPACE),$(XINCDIRS))),-I$(xincdir)) >> $@
+       @echo $(DL)$(foreach xincdir,$(strip $(subst ;,$(SPACE),$(XINCDIRS))),-I$(xincdir))$(DL)>> $@
 endif
 ifneq "$(strip $(INCDIRS))" ""
-       @echo $(foreach incdir,$(strip $(subst ;,$(SPACE),$(INCDIRS))),-I$(incdir)) >> $@
+       @echo $(DL)$(foreach incdir,$(strip $(subst ;,$(SPACE),$(INCDIRS))),-I$(incdir))$(DL)>> $@
 endif
 ifneq "$(strip $(DEFINES))" ""
-       @echo $(DEFINES) >> $@
+       @echo $(DL)$(DEFINES)$(DL)>> $@
 endif
 ifneq "$(strip $(XDEFINES))" ""
-       @echo $(XDEFINES) >> $@
+       @echo $(DL)$(XDEFINES)$(DL)>> $@
 endif
 
-$(OBJDIR)/%.o: %.cpp $(OBJDIR)\cpp.opt
-       @echo Compiling $<
-       $(CPP) $< -o=$(OBJDIR)\$(@F) @$(OBJDIR)\cpp.opt
+$(OBJDIR)/%.o: %.cpp $(OBJDIR)/$(NLM_NAME)_cpp.opt
+       @echo $(DL)CC   $<$(DL)
+       $(CC) -o $@ $< @$(word 2, $^)
 
-$(OBJDIR)\cpp.opt: $(CPPOPT_DEPENDS)
-       $(CHK) $@ $(DEL) $@
-       @echo Generating $@
+$(OBJDIR)/$(NLM_NAME)_cpp.opt: $(CPPOPT_DEPENDS)
+       $(call DEL,$@)
+       @echo $(DL)GEN  $@$(DL)
 ifneq "$(strip $(CFLAGS))" ""
-       @echo $(CFLAGS) >> $@
+       @echo $(DL)$(CFLAGS)$(DL)>> $@
 endif
 ifneq "$(strip $(XCFLAGS))" ""
-       @echo $(XCFLAGS) >> $@
+       @echo $(DL)$(XCFLAGS)$(DL)>> $@
 endif
 ifneq "$(strip $(XINCDIRS))" ""
-       @echo $(foreach xincdir,$(strip $(subst ;,$(SPACE),$(XINCDIRS))),-I$(xincdir)) >> $@
+       @echo $(DL)$(foreach xincdir,$(strip $(subst ;,$(SPACE),$(XINCDIRS))),-I$(xincdir))$(DL)>> $@
 endif
 ifneq "$(strip $(INCDIRS))" ""
-       @echo $(foreach incdir,$(strip $(subst ;,$(SPACE),$(INCDIRS))),-I$(incdir)) >> $@
+       @echo $(DL)$(foreach incdir,$(strip $(subst ;,$(SPACE),$(INCDIRS))),-I$(incdir))$(DL)>> $@
 endif
 ifneq "$(strip $(DEFINES))" ""
-       @echo $(DEFINES) >> $@
+       @echo $(DL)$(DEFINES)$(DL)>> $@
 endif
 ifneq "$(strip $(XDEFINES))" ""
-       @echo $(XDEFINES) >> $@
+       @echo $(DL)$(XDEFINES)$(DL)>> $@
 endif
 
 endif # one target nlm
@@ -163,22 +177,22 @@ endif # one target nlm
 
 ifeq "$(words $(strip $(TARGET_lib)))" "1"
 
-$(TARGET_lib) : $(OBJDIR)\$(LIB_NAME)_lib.lst
-       @echo Generating $@
-       $(CHK) $(OBJDIR)\$(@F) $(DEL) $(OBJDIR)\$(@F)
-       $(LIB) -o $(OBJDIR)\$(@F) @$?
+$(TARGET_lib) : $(OBJDIR)/$(LIB_NAME)_lib.lst
+       $(call DEL,$@)
+       @echo $(DL)AR   $@$(DL)
+       $(LIB) -o $@ @$<
 
-$(OBJDIR)\$(LIB_NAME)_lib.lst: $($(LIB_NAME)_LIBLST_DEPENDS)
-       $(CHK) $@ $(DEL) $@
-       @echo Generating $@
+$(OBJDIR)/$(LIB_NAME)_lib.lst: $($(LIB_NAME)_LIBLST_DEPENDS)
+       $(call DEL,$@)
 ifneq "$(strip $(FILES_lib_objs))" ""
-       @echo $(foreach objfile,$(FILES_lib_objs),$(subst /,\,$(objfile)) ) >> $@
+       @echo $(DL)GEN  $@$(DL)
+       @echo $(DL)$(FILES_lib_objs)$(DL)>> $@
 endif
 
 else # We must have more than one target library so load the individual makefiles
 
-$(OBJDIR)/%.lib: NWGNU% $(AP_WORK)\build\NWGNUhead.inc $(AP_WORK)\build\NWGNUtail.inc $(AP_WORK)\build\NWGNUenvironment.inc FORCE
-       @echo Calling $<
+$(OBJDIR)/%.lib: NWGNU% $(STANDARD_DEPENDS) FORCE
+       @echo $(DL)Calling $<$(DL)
        $(MAKE) -f $< $(MAKECMDGOALS) RELEASE=$(RELEASE)
 
 endif
@@ -187,120 +201,105 @@ endif
 # Rules to build nlms.
 #
 
-vpath libcpre.o $(NOVELLLIBC)\imports
-
 # If we only have one target NLM then build it
 ifeq "$(words $(strip $(TARGET_nlm)))" "1"
 
-$(TARGET_nlm) : $(FILES_nlm_objs) $(FILES_nlm_libs) $(OBJDIR)\$(NLM_NAME)_link.opt
-       @echo Linking $@
-       $(LINK) @$(OBJDIR)\$(NLM_NAME)_link.opt
+$(TARGET_nlm) : $(FILES_nlm_objs) $(FILES_nlm_libs) $(OBJDIR)/$(NLM_NAME)_link.opt
+       @echo $(DL)LINK $@$(DL)
+       $(LINK) @$(OBJDIR)/$(NLM_NAME)_link.opt
 
 # This will force the link option file to be rebuilt if we change the
 # corresponding makefile
 
-$(OBJDIR)\$(NLM_NAME)_link.opt : $($(NLM_NAME)_LINKOPT_DEPENDS)
-       $(CHK) $(OBJDIR)\$(@F) $(DEL) $(OBJDIR)\$(@F)
-       $(CHK) $(OBJDIR)\$(NLM_NAME)_link.def $(DEL) $(OBJDIR)\$(NLM_NAME)_link.def
-       @echo Generating $@
-       @echo -warnings off >> $@
-       @echo -zerobss >> $@
-       @echo -o $(TARGET_nlm) >> $@
+$(OBJDIR)/$(NLM_NAME)_link.opt : $($(NLM_NAME)_LINKOPT_DEPENDS)
+       $(call DEL,$@)
+       $(call DEL,$(@:.opt=.def))
+       @echo $(DL)GEN  $@$(DL)
+       @echo $(DL)-warnings off$(DL)>> $@
+       @echo $(DL)-zerobss$(DL)>> $@
+       @echo $(DL)-o $(TARGET_nlm)$(DL)>> $@
 ifneq "$(FILE_nlm_copyright)" ""
-       @-type $(FILE_nlm_copyright) >> $@
+       @$(CAT) $(FILE_nlm_copyright)>> $@
 endif
 ifeq "$(RELEASE)" "debug"
-       @echo -g >> $@
-       @echo -sym internal >> $@
-       @echo -sym codeview4 >> $@
-       @echo -osym $(OBJDIR)\$(NLM_NAME).sym >> $@
+       @echo $(DL)-g$(DL)>> $@
+       @echo $(DL)-sym internal$(DL)>> $@
+       @echo $(DL)-sym codeview4$(DL)>> $@
+       @echo $(DL)-osym $(OBJDIR)/$(NLM_NAME).sym$(DL)>> $@
 else
-       @echo -sym internal >> $@
-endif
-       @echo -l $(NWOS) >> $@
-       @echo -l $(AP)/$(OBJDIR) >> $@
-       @echo -l $(APR)/$(OBJDIR) >> $@
-       @echo -l $(APRUTIL)/$(OBJDIR) >> $@
-       @echo -l $(PCRE)/$(OBJDIR) >> $@
-       @echo -l $(HTTPD)/$(OBJDIR) >> $@
-       @echo -l $(SERVER)/$(OBJDIR) >> $@
-       @echo -l $(STDMOD)/$(OBJDIR) >> $@
-       @echo -l $(NWOS)/$(OBJDIR) >> $@
-       @echo -l "$(METROWERKS)/Novell Support/Metrowerks Support/Libraries/Runtime" >> $@
-       @echo -l "$(METROWERKS)/Novell Support/Metrowerks Support/Libraries/MSL C++" >> $@
+       @echo $(DL)-sym internal$(DL)>> $@
+endif
+       @echo $(DL)-l $(SRC)/$(OBJDIR)$(DL)>> $@
+       @echo $(DL)-l $(HTTPD)/$(OBJDIR)$(DL)>> $@
+       @echo $(DL)-l $(SERVER)/$(OBJDIR)$(DL)>> $@
+       @echo $(DL)-l $(STDMOD)/$(OBJDIR)$(DL)>> $@
+       @echo $(DL)-l $(NWOS)/$(OBJDIR)$(DL)>> $@
+       @echo $(DL)-l $(NWOS)$(DL)>> $@
+       @echo $(DL)-l $(APR)/$(OBJDIR)$(DL)>> $@
+       @echo $(DL)-l $(APR)$(DL)>> $@
+       @echo $(DL)-l $(APRUTIL)/$(OBJDIR)$(DL)>> $@
+       @echo $(DL)-l $(PCRE)/$(OBJDIR)$(DL)>> $@
+       @echo $(DL)-l "$(METROWERKS)/Novell Support/Metrowerks Support/Libraries/Runtime"$(DL)>> $@
+       @echo $(DL)-l "$(METROWERKS)/Novell Support/Metrowerks Support/Libraries/MSL C++"$(DL)>> $@
 ifneq "$(IPV6)" ""
-       @echo -l $(NOVELLLIBC)\include\winsock\IPV6 >> $@
+       @echo $(DL)-l $(NOVELLLIBC)/include/winsock/IPV6$(DL)>> $@
 endif
-       @echo -l $(NOVELLLIBC)/imports >> $@
+       @echo $(DL)-l $(NOVELLLIBC)/imports$(DL)>> $@
 ifneq "$(LDAPSDK)" ""
-       @echo -l $(LDAPSDK)/lib/nlm >> $@
+       @echo $(DL)-l $(LDAPSDK)/imports$(DL)>> $@
 endif
-       @echo -l $(APULDAP)/$(OBJDIR) >> $@
-       @echo -l $(XML)/$(OBJDIR) >> $@
-       @echo -nodefaults >> $@
-       @echo -map $(OBJDIR)\$(NLM_NAME).map>> $@
+       @echo $(DL)-l $(APULDAP)/$(OBJDIR)$(DL)>> $@
+       @echo $(DL)-l $(XML)/$(OBJDIR)$(DL)>> $@
+       @echo $(DL)-l $(SRC)/$(OBJDIR)$(DL)>> $@
+       @echo $(DL)-nodefaults$(DL)>> $@
+       @echo $(DL)-map $(OBJDIR)/$(NLM_NAME).map$(DL)>> $@
 ifneq "$(strip $(XLFLAGS))" ""
-       @echo $(XLFLAGS) >> $@
+       @echo $(DL)$(XLFLAGS)$(DL)>> $@
 endif
 ifneq "$(strip $(FILES_nlm_objs))" ""
-       @echo $(foreach objfile,$(strip $(FILES_nlm_objs)),$(subst /,\,$(objfile))) >> $@
+       @echo $(DL)$(foreach objfile,$(strip $(FILES_nlm_objs)),$(objfile))$(DL)>> $@
 endif
 ifneq "$(FILES_nlm_libs)" ""
-       @echo $(foreach libfile, $(notdir $(strip $(FILES_nlm_libs))),-l$(subst /,\,$(libfile))) >> $@
+       @echo $(DL)$(foreach libfile, $(notdir $(strip $(FILES_nlm_libs))),-l$(libfile))$(DL)>> $@
 endif
-       @echo -commandfile $(OBJDIR)\$(NLM_NAME)_link.def >> $@
-       @echo # Do not edit this file - it is created by make! > $(OBJDIR)\$(NLM_NAME)_link.def 
-       @echo # All your changes will be lost!! >> $(OBJDIR)\$(NLM_NAME)_link.def 
+       @echo $(DL)-commandfile $(@:.opt=.def)$(DL)>> $@
+       @echo $(DL)# Do not edit this file - it is created by make!$(DL)> $(@:.opt=.def) 
+       @echo $(DL)# All your changes will be lost!!$(DL)>> $(@:.opt=.def) 
 ifneq "$(FILE_nlm_msg)" ""
-       @echo Messages $(FILE_nlm_msg) >> $(OBJDIR)\$(NLM_NAME)_link.def
+       @echo $(DL)Messages $(FILE_nlm_msg)$(DL)>> $(@:.opt=.def)
 endif
 ifneq "$(FILE_nlm_hlp)" ""
-       @echo Help $(FILE_nlm_hlp) >> $(OBJDIR)\$(NLM_NAME)_link.def
+       @echo $(DL)Help $(FILE_nlm_hlp)$(DL)>> $(@:.opt=.def)
 endif
 ifeq "$(FILE_nlm_copyright)" ""
-       @echo copyright "$(NLM_COPYRIGHT)" >> $(OBJDIR)\$(NLM_NAME)_link.def
-endif
-       @echo description "$(NLM_DESCRIPTION)" >> $(OBJDIR)\$(NLM_NAME)_link.def
-       @echo threadname "$(NLM_THREAD_NAME)" >> $(OBJDIR)\$(NLM_NAME)_link.def
-ifneq "$(NLM_STACK_SIZE)" ""
-       @echo stacksize $(subst K,000,$(subst k,K,$(strip $(NLM_STACK_SIZE)))) >> $(OBJDIR)\$(NLM_NAME)_link.def
-else
-       @echo stacksize 64000 >> $(OBJDIR)\$(NLM_NAME)_link.def
-endif
-       @echo screenname "$(NLM_SCREEN_NAME)" >> $(OBJDIR)\$(NLM_NAME)_link.def
-ifneq "$(NLM_VERSION)" ""
-       @echo version $(NLM_VERSION) >> $(OBJDIR)\$(NLM_NAME)_link.def
-else
-       @echo version $(VERSION) >> $(OBJDIR)\$(NLM_NAME)_link.def
-endif
-ifneq "$(NLM_ENTRY_SYM)" ""
-       @echo start $(NLM_ENTRY_SYM) >> $(OBJDIR)\$(NLM_NAME)_link.def
-endif
-ifneq "$(NLM_EXIT_SYM)" ""
-       @echo exit $(NLM_EXIT_SYM) >> $(OBJDIR)\$(NLM_NAME)_link.def
-endif
+       @echo $(DL)copyright "$(NLM_COPYRIGHT)"$(DL)>> $(@:.opt=.def)
+endif
+       @echo $(DL)description "$(NLM_DESCRIPTION)"$(DL)>> $(@:.opt=.def)
+       @echo $(DL)threadname "$(NLM_THREAD_NAME)"$(DL)>> $(@:.opt=.def)
+       @echo $(DL)screenname "$(NLM_SCREEN_NAME)"$(DL)>> $(@:.opt=.def)
+       @echo $(DL)stacksize $(subst K,000,$(subst k,K,$(strip $(NLM_STACK_SIZE))))$(DL)>> $(@:.opt=.def)
+       @echo $(DL)version $(NLM_VERSION) $(DL)>> $(@:.opt=.def)
+       @echo $(DL)start $(NLM_ENTRY_SYM)$(DL)>> $(@:.opt=.def)
+       @echo $(DL)exit $(NLM_EXIT_SYM)$(DL)>> $(@:.opt=.def)
 ifneq "$(NLM_CHECK_SYM)" ""
-       @echo check $(NLM_CHECK_SYM) >> $(OBJDIR)\$(NLM_NAME)_link.def
-endif
-ifneq "$(NLM_FLAGS)" ""
-       @echo $(strip $(NLM_FLAGS)) >> $(OBJDIR)\$(NLM_NAME)_link.def
+       @echo $(DL)check $(NLM_CHECK_SYM)$(DL)>> $(@:.opt=.def)
 endif
+       @echo $(DL)$(strip $(NLM_FLAGS))$(DL)>> $(@:.opt=.def)
 ifneq "$(FILES_nlm_modules)" ""
-       @echo module $(foreach module,$(subst $(SPACE),$(COMMA),$(strip $(FILES_nlm_modules))),$(subst /,\,$(module))) >> $(OBJDIR)\$(NLM_NAME)_link.def
+       @echo $(DL)module $(foreach module,$(subst $(SPACE),$(COMMA),$(strip $(FILES_nlm_modules))),$(module))$(DL)>> $(@:.opt=.def)
 endif
 ifneq "$(FILES_nlm_Ximports)" ""
-       @echo import $(foreach import,$(subst $(SPACE),$(COMMA),$(strip $(FILES_nlm_Ximports))),$(subst /,\,$(import))) >> $(OBJDIR)\$(NLM_NAME)_link.def
+       @echo $(DL)import $(foreach import,$(subst $(SPACE),$(COMMA),$(strip $(FILES_nlm_Ximports))),$(import))$(DL)>> $(@:.opt=.def)
 endif
 ifneq "$(FILES_nlm_exports)" ""
-       @echo export $(foreach export,$(subst $(SPACE),$(COMMA),$(strip $(FILES_nlm_exports))),$(subst /,\,$(export))) >> $(OBJDIR)\$(NLM_NAME)_link.def
+       @echo $(DL)export $(foreach export,$(subst $(SPACE),$(COMMA),$(strip $(FILES_nlm_exports))),$(export))$(DL)>> $(@:.opt=.def)
 endif
-
 # if APACHE_UNIPROC is defined, don't include XDCData
 ifndef APACHE_UNIPROC
 ifneq "$(string $(XDCDATA))" ""
-       @echo xdcdata $(XDCDATA) >> $(OBJDIR)\$(NLM_NAME)_link.def
+       @echo $(DL)xdcdata $(XDCDATA)$(DL)>> $(@:.opt=.def)
 else
-       @echo xdcdata $(NWOS)\apache.xdc >> $(OBJDIR)\$(NLM_NAME)_link.def
+       @echo $(DL)xdcdata apache.xdc$(DL)>> $(@:.opt=.def)
 endif
 endif
 
@@ -311,10 +310,10 @@ else # more than one target so look for individual makefiles.
 
 ifndef NO_LICENSE_FILE
 
-$(OBJDIR)/%.nlm: NWGNU% $(AP_WORK)\build\NWGNUhead.inc $(AP_WORK)\build\NWGNUtail.inc $(AP_WORK)\build\NWGNUenvironment.inc $(CUSTOM_INI) $(VERSION_INC) FORCE
-       @echo Calling $<
+$(OBJDIR)/%.nlm: NWGNU% $($(NLM_NAME)_LINKOPT_DEPENDS) FORCE
+       @echo $(DL)Calling $<$(DL)
        $(MAKE) -f $< $(MAKECMDGOALS) RELEASE=$(RELEASE)
-       $(CMD) echo.
+       @$(ECHONL)
 
 else
 
index ca6e6a07029c45de8301aeb82b6394b8031e5b55..93812c904b005c254618d57df6d0a2e04f9012cf 100644 (file)
 # See the License for the specific language governing permissions and
 # limitations under the License.
 #
-#
 # Based on apr's make_export.awk, which is
 # based on Ryan Bloom's make_export.pl
+#
 
 BEGIN {
-    printf(" ("EXPPREFIX")\n")
+}
+
+function add_symbol(sym_name) {
+    sub(" ", "", sym_name)
+    exports[++idx] = sym_name
 }
 
 # List of functions that we don't support, yet??
 #/ap_some_name/{next}
 
-function add_symbol (sym_name) {
-       if (count) {
-               found++
-       }
-    gsub (/ /, "", sym_name)
-       line = line sym_name ",\n"
-
-       if (count == 0) {
-               printf(" %s", line)
-               line = ""
-       }
-}
-
-/^[ \t]*AP([RU]|_CORE)?_DECLARE[^(]*[(][^)]*[)]([^ ]* )*[^(]+[(]/ {
-    sub("[ \t]*AP([RU]|_CORE)?_DECLARE[^(]*[(][^)]*[)][ \t]*", "")
+/^[ \t]*(AP|DAV)([RU]|_CORE)?_DECLARE[^(]*[(][^)]*[)]([^ ]* )*[^(]+[(]/ {
+    sub("[ \t]*(AP|DAV)([RU]|_CORE)?_DECLARE[^(]*[(][^)]*[)][ \t]*", "")
     sub("[(].*", "")
     sub("([^ ]* (^([ \t]*[(])))+", "")
-
     add_symbol($0)
     next
 }
@@ -51,13 +41,25 @@ function add_symbol (sym_name) {
     symbol = args[2]
     sub("^[ \t]+", "", symbol)
     sub("[ \t]+$", "", symbol)
-
     add_symbol("ap_hook_" symbol)
     add_symbol("ap_hook_get_" symbol)
     add_symbol("ap_run_" symbol)
     next
 }
 
+/^[ \t]*AP[RU]?_DECLARE_EXTERNAL_HOOK[^(]*[(][^)]*/ {
+    split($0, args, ",")
+    prefix = args[1]
+    sub("^.*[(]", "", prefix)
+    symbol = args[4]
+    sub("^[ \t]+", "", symbol)
+    sub("[ \t]+$", "", symbol)
+    add_symbol(prefix "_hook_" symbol)
+    add_symbol(prefix "_hook_get_" symbol)
+    add_symbol(prefix "_run_" symbol)
+    next
+}
+
 /^[ \t]*APR_POOL_DECLARE_ACCESSOR[^(]*[(][^)]*[)]/ {
     sub("[ \t]*APR_POOL_DECLARE_ACCESSOR[^(]*[(]", "", $0)
     sub("[)].*$", "", $0)
@@ -79,13 +81,37 @@ function add_symbol (sym_name) {
     next
 }
 
-/^[ \t]*(extern[ \t]+)?AP[RU]?_DECLARE_DATA .*;$/ {
-       varname = $NF;
-       gsub( /[*;]/, "", varname);
-       gsub( /\[.*\]/, "", varname);
-       add_symbol(varname);
+/^[ \t]*(extern[ \t]+)?AP[RU]?_DECLARE_DATA .*;/ {
+    gsub(/[*;\n\r]/, "", $NF)
+    gsub(/\[.*\]/, "", $NF)
+    add_symbol($NF)
+}
+
+
+END {
+    printf("Added %d symbols to export list.\n", idx) > "/dev/stderr"
+    # sort symbols with shell sort
+    increment = int(idx / 2)
+    while (increment > 0) {
+        for (i = increment+1; i <= idx; i++) {
+            j = i
+            temp = exports[i]
+            while ((j >= increment+1) && (exports[j-increment] > temp)) {
+                exports[j] = exports[j-increment]
+                j -= increment
+            }
+            exports[j] = temp
+        }
+        if (increment == 2)
+            increment = 1
+        else
+            increment = int(increment*5/11)
+    }
+    # print the array
+    printf(" (%s)\n", EXPPREFIX)
+    while (x < idx - 1) {
+        printf(" %s,\n", exports[++x])
+    }
+    printf(" %s\n", exports[++x])
 }
 
-#END {
-#      printf(" %s", line)
-#}
index 76d018d2cfab93d1c1caed3cbbd5d2c5304a1a62..5f7882a668ff7670f76029eb010134b119493eb9 100644 (file)
@@ -14,9 +14,9 @@ endif
 SUBDIRS = \
        aaa \
        cache \
-       dav\main \
-       dav\fs \
-       dav\lock \
+       dav/main \
+       dav/fs \
+       dav/lock \
        echo \
        generators \
        loggers \
@@ -65,7 +65,7 @@ endif
 # paths to tools
 #
 
-include $(AP_WORK)\build\NWGNUhead.inc
+include $(AP_WORK)/build/NWGNUhead.inc
 
 #
 # build this level's files
index f1f1cbae9b101f607f160f0b6cf3e606d18534fc..60507845bf1c0ed19cc6ea0b4574864879a9e11c 100644 (file)
@@ -8,7 +8,7 @@
 #
 
 ifndef EnvironmentDefined
-include $(AP_WORK)\build\NWGNUhead.inc
+include $(AP_WORK)/build/NWGNUhead.inc
 endif
 
 #
@@ -107,7 +107,7 @@ NLM_THREAD_NAME     = AuthBasic Module
 
 #
 # If this is specified, it will override VERSION value in 
-# $(AP_WORK)\build\NWGNUenvironment.inc
+# $(AP_WORK)/build/NWGNUenvironment.inc
 #
 NLM_VERSION    =
 
@@ -120,12 +120,12 @@ NLM_STACK_SIZE    = 8192
 #
 # If this is specified it will be used by the link '-entry' directive
 #
-NLM_ENTRY_SYM  = _LibCPrelude
+NLM_ENTRY_SYM  =
 
 #
 # If this is specified it will be used by the link '-exit' directive
 #
-NLM_EXIT_SYM   = _LibCPostlude
+NLM_EXIT_SYM   =
 
 #
 # If this is specified it will be used by the link '-check' directive
@@ -135,7 +135,7 @@ NLM_CHECK_SYM       =
 #
 # If these are specified it will be used by the link '-flags' directive
 #
-NLM_FLAGS      = AUTOUNLOAD, PSEUDOPREEMPTION
+NLM_FLAGS      =
 
 #
 # If this is specified it will be linked in with the XDCData option in the def 
@@ -170,7 +170,7 @@ FILES_nlm_objs = \
 # These will be added as a library command in the link.opt file.
 #
 FILES_nlm_libs = \
-       libcpre.o \
+       $(PRELUDE) \
        $(EOLIST)
 
 #
@@ -201,8 +201,8 @@ FILE_nlm_copyright =
 # Any additional imports go here
 #
 FILES_nlm_Ximports = \
-       @$(APR)/aprlib.imp \
-       @$(NWOS)/httpd.imp \
+       @aprlib.imp \
+       @httpd.imp \
        @libc.imp \
        $(EOLIST)
  
@@ -230,7 +230,7 @@ nlms :: libs $(TARGET_nlm)
 
 #
 # Updated this target to create necessary directories and copy files to the 
-# correct place.  (See $(AP_WORK)\build\NWGNUhead.inc for examples)
+# correct place.  (See $(AP_WORK)/build/NWGNUhead.inc for examples)
 #
 install :: nlms FORCE
 
@@ -243,6 +243,6 @@ install :: nlms FORCE
 # in this makefile
 #
 
-include $(AP_WORK)\build\NWGNUtail.inc
+include $(APBUILD)/NWGNUtail.inc
 
 
index bb6b01cad00e191d3e5b1e008ff8ff8b1902bf06..32e243dcdd20bb8720a43bde669c121138b2a550 100644 (file)
@@ -8,7 +8,7 @@
 #
 
 ifndef EnvironmentDefined
-include $(AP_WORK)\build\NWGNUhead.inc
+include $(AP_WORK)/build/NWGNUhead.inc
 endif
 
 #
@@ -107,7 +107,7 @@ NLM_THREAD_NAME     = Digest Module
 
 #
 # If this is specified, it will override VERSION value in 
-# $(AP_WORK)\build\NWGNUenvironment.inc
+# $(AP_WORK)/build/NWGNUenvironment.inc
 #
 NLM_VERSION    =
 
@@ -120,12 +120,12 @@ NLM_STACK_SIZE    = 8192
 #
 # If this is specified it will be used by the link '-entry' directive
 #
-NLM_ENTRY_SYM  = _LibCPrelude
+NLM_ENTRY_SYM  =
 
 #
 # If this is specified it will be used by the link '-exit' directive
 #
-NLM_EXIT_SYM   = _LibCPostlude
+NLM_EXIT_SYM   =
 
 #
 # If this is specified it will be used by the link '-check' directive
@@ -135,7 +135,7 @@ NLM_CHECK_SYM       =
 #
 # If these are specified it will be used by the link '-flags' directive
 #
-NLM_FLAGS      = AUTOUNLOAD, PSEUDOPREEMPTION
+NLM_FLAGS      =
 
 #
 # If this is specified it will be linked in with the XDCData option in the def 
@@ -170,7 +170,7 @@ FILES_nlm_objs = \
 # These will be added as a library command in the link.opt file.
 #
 FILES_nlm_libs = \
-       libcpre.o \
+       $(PRELUDE) \
        $(EOLIST)
 
 #
@@ -201,8 +201,8 @@ FILE_nlm_copyright =
 # Any additional imports go here
 #
 FILES_nlm_Ximports = \
-       @$(APR)/aprlib.imp \
-       @$(NWOS)/httpd.imp \
+       @aprlib.imp \
+       @httpd.imp \
        @libc.imp \
        $(EOLIST)
  
@@ -230,7 +230,7 @@ nlms :: libs $(TARGET_nlm)
 
 #
 # Updated this target to create necessary directories and copy files to the 
-# correct place.  (See $(AP_WORK)\build\NWGNUhead.inc for examples)
+# correct place.  (See $(AP_WORK)/build/NWGNUhead.inc for examples)
 #
 install :: nlms FORCE
 
@@ -243,6 +243,6 @@ install :: nlms FORCE
 # in this makefile
 #
 
-include $(AP_WORK)\build\NWGNUtail.inc
+include $(APBUILD)/NWGNUtail.inc
 
 
index 5432563fd9e9aec47d09d85e17657fd1a10cf53e..859e34fb7353e8bc5e93ba50f54d4d405612f2a1 100644 (file)
@@ -8,7 +8,7 @@
 #
 
 ifndef EnvironmentDefined
-include $(AP_WORK)\build\NWGNUhead.inc
+include $(AP_WORK)/build/NWGNUhead.inc
 endif
 
 #
@@ -107,7 +107,7 @@ NLM_THREAD_NAME     = AuthnAlias Module
 
 #
 # If this is specified, it will override VERSION value in 
-# $(AP_WORK)\build\NWGNUenvironment.inc
+# $(AP_WORK)/build/NWGNUenvironment.inc
 #
 NLM_VERSION    =
 
@@ -120,12 +120,12 @@ NLM_STACK_SIZE    = 8192
 #
 # If this is specified it will be used by the link '-entry' directive
 #
-NLM_ENTRY_SYM  = _LibCPrelude
+NLM_ENTRY_SYM  =
 
 #
 # If this is specified it will be used by the link '-exit' directive
 #
-NLM_EXIT_SYM   = _LibCPostlude
+NLM_EXIT_SYM   =
 
 #
 # If this is specified it will be used by the link '-check' directive
@@ -135,7 +135,7 @@ NLM_CHECK_SYM       =
 #
 # If these are specified it will be used by the link '-flags' directive
 #
-NLM_FLAGS      = AUTOUNLOAD, PSEUDOPREEMPTION
+NLM_FLAGS      =
 
 #
 # If this is specified it will be linked in with the XDCData option in the def 
@@ -170,7 +170,7 @@ FILES_nlm_objs = \
 # These will be added as a library command in the link.opt file.
 #
 FILES_nlm_libs = \
-       libcpre.o \
+       $(PRELUDE) \
        $(EOLIST)
 
 #
@@ -201,8 +201,8 @@ FILE_nlm_copyright =
 # Any additional imports go here
 #
 FILES_nlm_Ximports = \
-       @$(APR)/aprlib.imp \
-       @$(NWOS)/httpd.imp \
+       @aprlib.imp \
+       @httpd.imp \
        @libc.imp \
        $(EOLIST)
  
@@ -230,7 +230,7 @@ nlms :: libs $(TARGET_nlm)
 
 #
 # Updated this target to create necessary directories and copy files to the 
-# correct place.  (See $(AP_WORK)\build\NWGNUhead.inc for examples)
+# correct place.  (See $(AP_WORK)/build/NWGNUhead.inc for examples)
 #
 install :: nlms FORCE
 
@@ -243,6 +243,6 @@ install :: nlms FORCE
 # in this makefile
 #
 
-include $(AP_WORK)\build\NWGNUtail.inc
+include $(APBUILD)/NWGNUtail.inc
 
 
index 446eaae9fd1c0d639efe8cc4601bb79d79075789..e7921c308c3548fcbd506ca33cf8e3919007994a 100644 (file)
@@ -8,7 +8,7 @@
 #
 
 ifndef EnvironmentDefined
-include $(AP_WORK)\build\NWGNUhead.inc
+include $(AP_WORK)/build/NWGNUhead.inc
 endif
 
 #
@@ -107,7 +107,7 @@ NLM_THREAD_NAME     = AuthAnon Module
 
 #
 # If this is specified, it will override VERSION value in 
-# $(AP_WORK)\build\NWGNUenvironment.inc
+# $(AP_WORK)/build/NWGNUenvironment.inc
 #
 NLM_VERSION    =
 
@@ -120,12 +120,12 @@ NLM_STACK_SIZE    = 8192
 #
 # If this is specified it will be used by the link '-entry' directive
 #
-NLM_ENTRY_SYM  = _LibCPrelude
+NLM_ENTRY_SYM  =
 
 #
 # If this is specified it will be used by the link '-exit' directive
 #
-NLM_EXIT_SYM   = _LibCPostlude
+NLM_EXIT_SYM   =
 
 #
 # If this is specified it will be used by the link '-check' directive
@@ -135,7 +135,7 @@ NLM_CHECK_SYM       =
 #
 # If these are specified it will be used by the link '-flags' directive
 #
-NLM_FLAGS      = AUTOUNLOAD, PSEUDOPREEMPTION
+NLM_FLAGS      =
 
 #
 # If this is specified it will be linked in with the XDCData option in the def 
@@ -170,7 +170,7 @@ FILES_nlm_objs = \
 # These will be added as a library command in the link.opt file.
 #
 FILES_nlm_libs = \
-       libcpre.o \
+       $(PRELUDE) \
        $(EOLIST)
 
 #
@@ -201,8 +201,8 @@ FILE_nlm_copyright =
 # Any additional imports go here
 #
 FILES_nlm_Ximports = \
-       @$(APR)/aprlib.imp \
-       @$(NWOS)/httpd.imp \
+       @aprlib.imp \
+       @httpd.imp \
        @libc.imp \
        $(EOLIST)
  
@@ -230,7 +230,7 @@ nlms :: libs $(TARGET_nlm)
 
 #
 # Updated this target to create necessary directories and copy files to the 
-# correct place.  (See $(AP_WORK)\build\NWGNUhead.inc for examples)
+# correct place.  (See $(AP_WORK)/build/NWGNUhead.inc for examples)
 #
 install :: nlms FORCE
 
@@ -243,6 +243,6 @@ install :: nlms FORCE
 # in this makefile
 #
 
-include $(AP_WORK)\build\NWGNUtail.inc
+include $(APBUILD)/NWGNUtail.inc
 
 
index 0128fe2b14197b6ac25b9ca4422dd1c67d83faa3..efbbd27767a73f61a7f0c0628911c28485a81125 100644 (file)
@@ -8,7 +8,7 @@
 #
 
 ifndef EnvironmentDefined
-include $(AP_WORK)\build\NWGNUhead.inc
+include $(AP_WORK)/build/NWGNUhead.inc
 endif
 
 #
@@ -108,7 +108,7 @@ NLM_THREAD_NAME     = AuthnDBD Module
 
 #
 # If this is specified, it will override VERSION value in 
-# $(AP_WORK)\build\NWGNUenvironment.inc
+# $(AP_WORK)/build/NWGNUenvironment.inc
 #
 NLM_VERSION    =
 
@@ -121,12 +121,12 @@ NLM_STACK_SIZE    = 8192
 #
 # If this is specified it will be used by the link '-entry' directive
 #
-NLM_ENTRY_SYM  = _LibCPrelude
+NLM_ENTRY_SYM  =
 
 #
 # If this is specified it will be used by the link '-exit' directive
 #
-NLM_EXIT_SYM   = _LibCPostlude
+NLM_EXIT_SYM   =
 
 #
 # If this is specified it will be used by the link '-check' directive
@@ -136,7 +136,7 @@ NLM_CHECK_SYM       =
 #
 # If these are specified it will be used by the link '-flags' directive
 #
-NLM_FLAGS      = AUTOUNLOAD, PSEUDOPREEMPTION
+NLM_FLAGS      =
 
 #
 # If this is specified it will be linked in with the XDCData option in the def 
@@ -171,7 +171,7 @@ FILES_nlm_objs = \
 # These will be added as a library command in the link.opt file.
 #
 FILES_nlm_libs = \
-       libcpre.o \
+       $(PRELUDE) \
        $(EOLIST)
 
 #
@@ -202,8 +202,8 @@ FILE_nlm_copyright =
 # Any additional imports go here
 #
 FILES_nlm_Ximports = \
-       @$(APR)/aprlib.imp \
-       @$(NWOS)/httpd.imp \
+       @aprlib.imp \
+       @httpd.imp \
        @libc.imp \
        $(EOLIST)
  
@@ -231,7 +231,7 @@ nlms :: libs $(TARGET_nlm)
 
 #
 # Updated this target to create necessary directories and copy files to the 
-# correct place.  (See $(AP_WORK)\build\NWGNUhead.inc for examples)
+# correct place.  (See $(AP_WORK)/build/NWGNUhead.inc for examples)
 #
 install :: nlms FORCE
 
@@ -244,6 +244,6 @@ install :: nlms FORCE
 # in this makefile
 #
 
-include $(AP_WORK)\build\NWGNUtail.inc
+include $(APBUILD)/NWGNUtail.inc
 
 
index a429c126e878b8d40db1a6c8fbfbf1c1385cda01..31f43d601bd0175e22990505f08362fd2decc4c7 100644 (file)
@@ -8,7 +8,7 @@
 #
 
 ifndef EnvironmentDefined
-include $(AP_WORK)\build\NWGNUhead.inc
+include $(AP_WORK)/build/NWGNUhead.inc
 endif
 
 #
@@ -107,7 +107,7 @@ NLM_THREAD_NAME     = AuthnDBM Module
 
 #
 # If this is specified, it will override VERSION value in 
-# $(AP_WORK)\build\NWGNUenvironment.inc
+# $(AP_WORK)/build/NWGNUenvironment.inc
 #
 NLM_VERSION    =
 
@@ -120,12 +120,12 @@ NLM_STACK_SIZE    = 8192
 #
 # If this is specified it will be used by the link '-entry' directive
 #
-NLM_ENTRY_SYM  = _LibCPrelude
+NLM_ENTRY_SYM  =
 
 #
 # If this is specified it will be used by the link '-exit' directive
 #
-NLM_EXIT_SYM   = _LibCPostlude
+NLM_EXIT_SYM   =
 
 #
 # If this is specified it will be used by the link '-check' directive
@@ -135,7 +135,7 @@ NLM_CHECK_SYM       =
 #
 # If these are specified it will be used by the link '-flags' directive
 #
-NLM_FLAGS      = AUTOUNLOAD, PSEUDOPREEMPTION
+NLM_FLAGS      =
 
 #
 # If this is specified it will be linked in with the XDCData option in the def 
@@ -170,7 +170,7 @@ FILES_nlm_objs = \
 # These will be added as a library command in the link.opt file.
 #
 FILES_nlm_libs = \
-       libcpre.o \
+       $(PRELUDE) \
        $(EOLIST)
 
 #
@@ -201,8 +201,8 @@ FILE_nlm_copyright =
 # Any additional imports go here
 #
 FILES_nlm_Ximports = \
-       @$(APR)/aprlib.imp \
-       @$(NWOS)/httpd.imp \
+       @aprlib.imp \
+       @httpd.imp \
        @libc.imp \
        $(EOLIST)
  
@@ -230,7 +230,7 @@ nlms :: libs $(TARGET_nlm)
 
 #
 # Updated this target to create necessary directories and copy files to the 
-# correct place.  (See $(AP_WORK)\build\NWGNUhead.inc for examples)
+# correct place.  (See $(AP_WORK)/build/NWGNUhead.inc for examples)
 #
 install :: nlms FORCE
 
@@ -243,6 +243,6 @@ install :: nlms FORCE
 # in this makefile
 #
 
-include $(AP_WORK)\build\NWGNUtail.inc
+include $(APBUILD)/NWGNUtail.inc
 
 
index 753d0149365089c4817d0f446d88b8d8b393aec6..ec272ab6e50407935c27c43917d90842d6e6a27d 100644 (file)
@@ -8,7 +8,7 @@
 #
 
 ifndef EnvironmentDefined
-include $(AP_WORK)\build\NWGNUhead.inc
+include $(AP_WORK)/build/NWGNUhead.inc
 endif
 
 #
@@ -107,7 +107,7 @@ NLM_THREAD_NAME     = Authndef Module
 
 #
 # If this is specified, it will override VERSION value in 
-# $(AP_WORK)\build\NWGNUenvironment.inc
+# $(AP_WORK)/build/NWGNUenvironment.inc
 #
 NLM_VERSION    =
 
@@ -120,12 +120,12 @@ NLM_STACK_SIZE    = 8192
 #
 # If this is specified it will be used by the link '-entry' directive
 #
-NLM_ENTRY_SYM  = _LibCPrelude
+NLM_ENTRY_SYM  =
 
 #
 # If this is specified it will be used by the link '-exit' directive
 #
-NLM_EXIT_SYM   = _LibCPostlude
+NLM_EXIT_SYM   =
 
 #
 # If this is specified it will be used by the link '-check' directive
@@ -135,7 +135,7 @@ NLM_CHECK_SYM       =
 #
 # If these are specified it will be used by the link '-flags' directive
 #
-NLM_FLAGS      = AUTOUNLOAD, PSEUDOPREEMPTION
+NLM_FLAGS      =
 
 #
 # If this is specified it will be linked in with the XDCData option in the def 
@@ -170,7 +170,7 @@ FILES_nlm_objs = \
 # These will be added as a library command in the link.opt file.
 #
 FILES_nlm_libs = \
-       libcpre.o \
+       $(PRELUDE) \
        $(EOLIST)
 
 #
@@ -201,8 +201,8 @@ FILE_nlm_copyright =
 # Any additional imports go here
 #
 FILES_nlm_Ximports = \
-       @$(APR)/aprlib.imp \
-       @$(NWOS)/httpd.imp \
+       @aprlib.imp \
+       @httpd.imp \
        @libc.imp \
        $(EOLIST)
  
@@ -230,7 +230,7 @@ nlms :: libs $(TARGET_nlm)
 
 #
 # Updated this target to create necessary directories and copy files to the 
-# correct place.  (See $(AP_WORK)\build\NWGNUhead.inc for examples)
+# correct place.  (See $(AP_WORK)/build/NWGNUhead.inc for examples)
 #
 install :: nlms FORCE
 
@@ -243,6 +243,6 @@ install :: nlms FORCE
 # in this makefile
 #
 
-include $(AP_WORK)\build\NWGNUtail.inc
+include $(APBUILD)/NWGNUtail.inc
 
 
index 54d2b37facf87379ec6fbad6bbb3e46263668284..5017c919d3d119a8850bec547c41bb6d7f0592dd 100644 (file)
@@ -8,7 +8,7 @@
 #
 
 ifndef EnvironmentDefined
-include $(AP_WORK)\build\NWGNUhead.inc
+include $(AP_WORK)/build/NWGNUhead.inc
 endif
 
 #
@@ -107,7 +107,7 @@ NLM_THREAD_NAME     = AuthnFile Module
 
 #
 # If this is specified, it will override VERSION value in 
-# $(AP_WORK)\build\NWGNUenvironment.inc
+# $(AP_WORK)/build/NWGNUenvironment.inc
 #
 NLM_VERSION    =
 
@@ -120,12 +120,12 @@ NLM_STACK_SIZE    = 8192
 #
 # If this is specified it will be used by the link '-entry' directive
 #
-NLM_ENTRY_SYM  = _LibCPrelude
+NLM_ENTRY_SYM  =
 
 #
 # If this is specified it will be used by the link '-exit' directive
 #
-NLM_EXIT_SYM   = _LibCPostlude
+NLM_EXIT_SYM   =
 
 #
 # If this is specified it will be used by the link '-check' directive
@@ -135,7 +135,7 @@ NLM_CHECK_SYM       =
 #
 # If these are specified it will be used by the link '-flags' directive
 #
-NLM_FLAGS      = AUTOUNLOAD, PSEUDOPREEMPTION
+NLM_FLAGS      =
 
 #
 # If this is specified it will be linked in with the XDCData option in the def 
@@ -170,7 +170,7 @@ FILES_nlm_objs = \
 # These will be added as a library command in the link.opt file.
 #
 FILES_nlm_libs = \
-       libcpre.o \
+       $(PRELUDE) \
        $(EOLIST)
 
 #
@@ -201,8 +201,8 @@ FILE_nlm_copyright =
 # Any additional imports go here
 #
 FILES_nlm_Ximports = \
-       @$(APR)/aprlib.imp \
-       @$(NWOS)/httpd.imp \
+       @aprlib.imp \
+       @httpd.imp \
        @libc.imp \
        $(EOLIST)
  
@@ -230,7 +230,7 @@ nlms :: libs $(TARGET_nlm)
 
 #
 # Updated this target to create necessary directories and copy files to the 
-# correct place.  (See $(AP_WORK)\build\NWGNUhead.inc for examples)
+# correct place.  (See $(AP_WORK)/build/NWGNUhead.inc for examples)
 #
 install :: nlms FORCE
 
@@ -243,6 +243,6 @@ install :: nlms FORCE
 # in this makefile
 #
 
-include $(AP_WORK)\build\NWGNUtail.inc
+include $(APBUILD)/NWGNUtail.inc
 
 
index ef4527e7c0465c50cddb0e7724115ebd1a696a30..b260b73a9f3349d0ea81b63662872970e7025584 100644 (file)
@@ -8,7 +8,7 @@
 #
 
 ifndef EnvironmentDefined
-include $(AP_WORK)\build\NWGNUhead.inc
+include $(AP_WORK)/build/NWGNUhead.inc
 endif
 
 #
@@ -115,7 +115,7 @@ NLM_THREAD_NAME     = AuthnzLDAP Module
 
 #
 # If this is specified, it will override VERSION value in 
-# $(AP_WORK)\build\NWGNUenvironment.inc
+# $(AP_WORK)/build/NWGNUenvironment.inc
 #
 NLM_VERSION    =
 
@@ -128,12 +128,12 @@ NLM_STACK_SIZE    = 8192
 #
 # If this is specified it will be used by the link '-entry' directive
 #
-NLM_ENTRY_SYM  = _LibCPrelude
+NLM_ENTRY_SYM  =
 
 #
 # If this is specified it will be used by the link '-exit' directive
 #
-NLM_EXIT_SYM   = _LibCPostlude
+NLM_EXIT_SYM   =
 
 #
 # If this is specified it will be used by the link '-check' directive
@@ -143,7 +143,7 @@ NLM_CHECK_SYM       =
 #
 # If these are specified it will be used by the link '-flags' directive
 #
-NLM_FLAGS      = AUTOUNLOAD, PSEUDOPREEMPTION
+NLM_FLAGS      =
 
 #
 # If this is specified it will be linked in with the XDCData option in the def 
@@ -178,7 +178,7 @@ FILES_nlm_objs = \
 # These will be added as a library command in the link.opt file.
 #
 FILES_nlm_libs = \
-       libcpre.o \
+       $(PRELUDE) \
        $(EOLIST)
 
 #
@@ -216,10 +216,10 @@ FILES_nlm_Ximports = \
        util_ldap_cache_getuserdn \
        util_ldap_cache_compare \
        util_ldap_cache_comparedn \
-       @$(APR)/aprlib.imp \
-       @$(NWOS)/httpd.imp \
+       @aprlib.imp \
+       @httpd.imp \
        @libc.imp \
-       @$(LDAPSDK)/imports/lldapsdk.imp \
+       @lldapsdk.imp \
        $(EOLIST)
  
 #   
@@ -246,7 +246,7 @@ nlms :: libs $(TARGET_nlm)
 
 #
 # Updated this target to create necessary directories and copy files to the 
-# correct place.  (See $(AP_WORK)\build\NWGNUhead.inc for examples)
+# correct place.  (See $(AP_WORK)/build/NWGNUhead.inc for examples)
 #
 install :: nlms FORCE
 
@@ -259,6 +259,6 @@ install :: nlms FORCE
 # in this makefile
 #
 
-include $(AP_WORK)\build\NWGNUtail.inc
+include $(APBUILD)/NWGNUtail.inc
 
 
index 58db1d23e72108a71eadace25bf328ce14f13a7f..32bfff64bb71e1dfeaa4cbe9c4af9350e87817cc 100644 (file)
@@ -8,7 +8,7 @@
 #
 
 ifndef EnvironmentDefined
-include $(AP_WORK)\build\NWGNUhead.inc
+include $(AP_WORK)/build/NWGNUhead.inc
 endif
 
 #
@@ -107,7 +107,7 @@ NLM_THREAD_NAME     = AuthzDBM Module
 
 #
 # If this is specified, it will override VERSION value in 
-# $(AP_WORK)\build\NWGNUenvironment.inc
+# $(AP_WORK)/build/NWGNUenvironment.inc
 #
 NLM_VERSION    =
 
@@ -120,12 +120,12 @@ NLM_STACK_SIZE    = 8192
 #
 # If this is specified it will be used by the link '-entry' directive
 #
-NLM_ENTRY_SYM  = _LibCPrelude
+NLM_ENTRY_SYM  =
 
 #
 # If this is specified it will be used by the link '-exit' directive
 #
-NLM_EXIT_SYM   = _LibCPostlude
+NLM_EXIT_SYM   =
 
 #
 # If this is specified it will be used by the link '-check' directive
@@ -135,7 +135,7 @@ NLM_CHECK_SYM       =
 #
 # If these are specified it will be used by the link '-flags' directive
 #
-NLM_FLAGS      = AUTOUNLOAD, PSEUDOPREEMPTION
+NLM_FLAGS      =
 
 #
 # If this is specified it will be linked in with the XDCData option in the def 
@@ -170,7 +170,7 @@ FILES_nlm_objs = \
 # These will be added as a library command in the link.opt file.
 #
 FILES_nlm_libs = \
-       libcpre.o \
+       $(PRELUDE) \
        $(EOLIST)
 
 #
@@ -201,8 +201,8 @@ FILE_nlm_copyright =
 # Any additional imports go here
 #
 FILES_nlm_Ximports = \
-       @$(APR)/aprlib.imp \
-       @$(NWOS)/httpd.imp \
+       @aprlib.imp \
+       @httpd.imp \
        @libc.imp \
        $(EOLIST)
  
@@ -230,7 +230,7 @@ nlms :: libs $(TARGET_nlm)
 
 #
 # Updated this target to create necessary directories and copy files to the 
-# correct place.  (See $(AP_WORK)\build\NWGNUhead.inc for examples)
+# correct place.  (See $(AP_WORK)/build/NWGNUhead.inc for examples)
 #
 install :: nlms FORCE
 
@@ -243,6 +243,6 @@ install :: nlms FORCE
 # in this makefile
 #
 
-include $(AP_WORK)\build\NWGNUtail.inc
+include $(APBUILD)/NWGNUtail.inc
 
 
index 8cafe81d09803b1ade058c375b5c994540c90f07..58b50cf68fb0d1eec8a0409da7cb1ad6559c1100 100644 (file)
@@ -8,7 +8,7 @@
 #
 
 ifndef EnvironmentDefined
-include $(AP_WORK)\build\NWGNUhead.inc
+include $(AP_WORK)/build/NWGNUhead.inc
 endif
 
 #
@@ -107,7 +107,7 @@ NLM_THREAD_NAME     = Authzdef Module
 
 #
 # If this is specified, it will override VERSION value in 
-# $(AP_WORK)\build\NWGNUenvironment.inc
+# $(AP_WORK)/build/NWGNUenvironment.inc
 #
 NLM_VERSION    =
 
@@ -120,12 +120,12 @@ NLM_STACK_SIZE    = 8192
 #
 # If this is specified it will be used by the link '-entry' directive
 #
-NLM_ENTRY_SYM  = _LibCPrelude
+NLM_ENTRY_SYM  =
 
 #
 # If this is specified it will be used by the link '-exit' directive
 #
-NLM_EXIT_SYM   = _LibCPostlude
+NLM_EXIT_SYM   =
 
 #
 # If this is specified it will be used by the link '-check' directive
@@ -135,7 +135,7 @@ NLM_CHECK_SYM       =
 #
 # If these are specified it will be used by the link '-flags' directive
 #
-NLM_FLAGS      = AUTOUNLOAD, PSEUDOPREEMPTION
+NLM_FLAGS      =
 
 #
 # If this is specified it will be linked in with the XDCData option in the def 
@@ -170,7 +170,7 @@ FILES_nlm_objs = \
 # These will be added as a library command in the link.opt file.
 #
 FILES_nlm_libs = \
-       libcpre.o \
+       $(PRELUDE) \
        $(EOLIST)
 
 #
@@ -201,8 +201,8 @@ FILE_nlm_copyright =
 # Any additional imports go here
 #
 FILES_nlm_Ximports = \
-       @$(APR)/aprlib.imp \
-       @$(NWOS)/httpd.imp \
+       @aprlib.imp \
+       @httpd.imp \
        @libc.imp \
        $(EOLIST)
  
@@ -230,7 +230,7 @@ nlms :: libs $(TARGET_nlm)
 
 #
 # Updated this target to create necessary directories and copy files to the 
-# correct place.  (See $(AP_WORK)\build\NWGNUhead.inc for examples)
+# correct place.  (See $(AP_WORK)/build/NWGNUhead.inc for examples)
 #
 install :: nlms FORCE
 
@@ -243,6 +243,6 @@ install :: nlms FORCE
 # in this makefile
 #
 
-include $(AP_WORK)\build\NWGNUtail.inc
+include $(APBUILD)/NWGNUtail.inc
 
 
index 2db5fae6da638e31dcd010067907fbcefd64b862..24a96e5fdbeaa7617e9271483dc64456627dc1a1 100644 (file)
@@ -8,7 +8,7 @@
 #
 
 ifndef EnvironmentDefined
-include $(AP_WORK)\build\NWGNUhead.inc
+include $(AP_WORK)/build/NWGNUhead.inc
 endif
 
 #
@@ -107,7 +107,7 @@ NLM_THREAD_NAME     = AuthzGrp Module
 
 #
 # If this is specified, it will override VERSION value in 
-# $(AP_WORK)\build\NWGNUenvironment.inc
+# $(AP_WORK)/build/NWGNUenvironment.inc
 #
 NLM_VERSION    =
 
@@ -120,12 +120,12 @@ NLM_STACK_SIZE    = 8192
 #
 # If this is specified it will be used by the link '-entry' directive
 #
-NLM_ENTRY_SYM  = _LibCPrelude
+NLM_ENTRY_SYM  =
 
 #
 # If this is specified it will be used by the link '-exit' directive
 #
-NLM_EXIT_SYM   = _LibCPostlude
+NLM_EXIT_SYM   =
 
 #
 # If this is specified it will be used by the link '-check' directive
@@ -135,7 +135,7 @@ NLM_CHECK_SYM       =
 #
 # If these are specified it will be used by the link '-flags' directive
 #
-NLM_FLAGS      = AUTOUNLOAD, PSEUDOPREEMPTION
+NLM_FLAGS      =
 
 #
 # If this is specified it will be linked in with the XDCData option in the def 
@@ -170,7 +170,7 @@ FILES_nlm_objs = \
 # These will be added as a library command in the link.opt file.
 #
 FILES_nlm_libs = \
-       libcpre.o \
+       $(PRELUDE) \
        $(EOLIST)
 
 #
@@ -201,8 +201,8 @@ FILE_nlm_copyright =
 # Any additional imports go here
 #
 FILES_nlm_Ximports = \
-       @$(APR)/aprlib.imp \
-       @$(NWOS)/httpd.imp \
+       @aprlib.imp \
+       @httpd.imp \
        @libc.imp \
        $(EOLIST)
  
@@ -230,7 +230,7 @@ nlms :: libs $(TARGET_nlm)
 
 #
 # Updated this target to create necessary directories and copy files to the 
-# correct place.  (See $(AP_WORK)\build\NWGNUhead.inc for examples)
+# correct place.  (See $(AP_WORK)/build/NWGNUhead.inc for examples)
 #
 install :: nlms FORCE
 
@@ -243,6 +243,6 @@ install :: nlms FORCE
 # in this makefile
 #
 
-include $(AP_WORK)\build\NWGNUtail.inc
+include $(APBUILD)/NWGNUtail.inc
 
 
index 7e597e7ab9c8a5f034b35778a58d861a6def43f0..aa5ebd7d1f28d4f2c2055126ef9c0c00203047bb 100644 (file)
@@ -8,7 +8,7 @@
 #
 
 ifndef EnvironmentDefined
-include $(AP_WORK)\build\NWGNUhead.inc
+include $(AP_WORK)/build/NWGNUhead.inc
 endif
 
 #
@@ -107,7 +107,7 @@ NLM_THREAD_NAME     = AuthzUser Module
 
 #
 # If this is specified, it will override VERSION value in 
-# $(AP_WORK)\build\NWGNUenvironment.inc
+# $(AP_WORK)/build/NWGNUenvironment.inc
 #
 NLM_VERSION    =
 
@@ -120,12 +120,12 @@ NLM_STACK_SIZE    = 8192
 #
 # If this is specified it will be used by the link '-entry' directive
 #
-NLM_ENTRY_SYM  = _LibCPrelude
+NLM_ENTRY_SYM  =
 
 #
 # If this is specified it will be used by the link '-exit' directive
 #
-NLM_EXIT_SYM   = _LibCPostlude
+NLM_EXIT_SYM   =
 
 #
 # If this is specified it will be used by the link '-check' directive
@@ -135,7 +135,7 @@ NLM_CHECK_SYM       =
 #
 # If these are specified it will be used by the link '-flags' directive
 #
-NLM_FLAGS      = AUTOUNLOAD, PSEUDOPREEMPTION
+NLM_FLAGS      =
 
 #
 # If this is specified it will be linked in with the XDCData option in the def 
@@ -170,7 +170,7 @@ FILES_nlm_objs = \
 # These will be added as a library command in the link.opt file.
 #
 FILES_nlm_libs = \
-       libcpre.o \
+       $(PRELUDE) \
        $(EOLIST)
 
 #
@@ -201,8 +201,8 @@ FILE_nlm_copyright =
 # Any additional imports go here
 #
 FILES_nlm_Ximports = \
-       @$(APR)/aprlib.imp \
-       @$(NWOS)/httpd.imp \
+       @aprlib.imp \
+       @httpd.imp \
        @libc.imp \
        $(EOLIST)
  
@@ -230,7 +230,7 @@ nlms :: libs $(TARGET_nlm)
 
 #
 # Updated this target to create necessary directories and copy files to the 
-# correct place.  (See $(AP_WORK)\build\NWGNUhead.inc for examples)
+# correct place.  (See $(AP_WORK)/build/NWGNUhead.inc for examples)
 #
 install :: nlms FORCE
 
@@ -243,6 +243,6 @@ install :: nlms FORCE
 # in this makefile
 #
 
-include $(AP_WORK)\build\NWGNUtail.inc
+include $(APBUILD)/NWGNUtail.inc
 
 
index 9ef2cf0449e67626a3b7cf33f51a02fd5b52a642..f53d72bb72e7b17df85ac836e6ce110d5e24e144 100644 (file)
@@ -10,7 +10,7 @@ SUBDIRS = \
 # paths to tools
 #
 
-include $(AP_WORK)\build\NWGNUhead.inc
+include $(AP_WORK)/build/NWGNUhead.inc
 
 #
 # build this level's files
@@ -111,7 +111,7 @@ NLM_THREAD_NAME     =
 
 #
 # If this is specified, it will override VERSION value in 
-# $(AP_WORK)\build\NWGNUenvironment.inc
+# $(AP_WORK)/build/NWGNUenvironment.inc
 #
 NLM_VERSION    =
 
@@ -244,10 +244,10 @@ nlms :: libs $(TARGET_nlm)
 
 #
 # Updated this target to create necessary directories and copy files to the 
-# correct place.  (See $(AP_WORK)\build\NWGNUhead.inc for examples)
+# correct place.  (See $(AP_WORK)/build/NWGNUhead.inc for examples)
 #
 install :: nlms FORCE
-       copy $(OBJDIR)\*.nlm $(INSTALL)\$(BASEDIR)\modules\*.*
+       $(call COPY,$(OBJDIR)/*.nlm, $(INSTALLBASE)/modules/)
 
 #
 # Any specialized rules here
@@ -258,6 +258,6 @@ install :: nlms FORCE
 # in this makefile
 #
 
-include $(AP_WORK)\build\NWGNUtail.inc
+include $(APBUILD)/NWGNUtail.inc
 
 
index 9eb83be290f3422c8384aa98eb03496d9526facc..2df9a3eee0031efd6e3b69c2a6dd4a5b5ee79337 100644 (file)
@@ -10,7 +10,7 @@ SUBDIRS = \
 # paths to tools
 #
 
-include $(AP_WORK)\build\NWGNUhead.inc
+include $(AP_WORK)/build/NWGNUhead.inc
 
 #
 # build this level's files
@@ -115,7 +115,7 @@ NLM_THREAD_NAME     = dsk_cach
 
 #
 # If this is specified, it will override VERSION value in 
-# $(AP_WORK)\build\NWGNUenvironment.inc
+# $(AP_WORK)/build/NWGNUenvironment.inc
 #
 NLM_VERSION    = 
 
@@ -128,12 +128,12 @@ NLM_STACK_SIZE    = 65536
 #
 # If this is specified it will be used by the link '-entry' directive
 #
-NLM_ENTRY_SYM  = _LibCPrelude
+NLM_ENTRY_SYM  =
 
 #
 # If this is specified it will be used by the link '-exit' directive
 #
-NLM_EXIT_SYM   = _LibCPostlude
+NLM_EXIT_SYM   =
 
 #
 # If this is specified it will be used by the link '-check' directive
@@ -143,7 +143,7 @@ NLM_CHECK_SYM       =
 #
 # If this is specified it will be used by the link '-flags' directive
 #
-NLM_FLAGS      = AUTOUNLOAD, PSEUDOPREEMPTION
+NLM_FLAGS      =
  
 #
 # If this is specified it will be linked in with the XDCData option in the def 
@@ -182,7 +182,7 @@ FILES_nlm_objs = \
 # These will be added as a library command in the link.opt file.
 #
 FILES_nlm_libs = \
-       libcpre.o \
+       $(PRELUDE) \
        $(EOLIST)
 
 #
@@ -215,7 +215,7 @@ FILE_nlm_copyright =
 #
 FILES_nlm_Ximports = \
        @libc.imp \
-       @$(APR)/aprlib.imp \
+       @aprlib.imp \
        @httpd.imp \
        @mod_cache.imp \
        $(EOLIST)
@@ -245,7 +245,7 @@ nlms :: libs $(TARGET_nlm)
 
 #
 # Updated this target to create necessary directories and copy files to the 
-# correct place.  (See $(AP_WORK)\build\NWGNUhead.inc for examples)
+# correct place.  (See $(AP_WORK)/build/NWGNUhead.inc for examples)
 #
 install :: nlms FORCE
     
@@ -258,6 +258,6 @@ install :: nlms FORCE
 # in this makefile
 #
 
-include $(AP_WORK)\build\NWGNUtail.inc
+include $(APBUILD)/NWGNUtail.inc
 
 
index 868db5485eac807a947b6b1ce0e6a339935fb574..ef097b248ac71b6f1fef9a11ec1188638bcf222b 100644 (file)
@@ -10,7 +10,7 @@ SUBDIRS = \
 # paths to tools
 #
 
-include $(AP_WORK)\build\NWGNUhead.inc
+include $(AP_WORK)/build/NWGNUhead.inc
 
 #
 # build this level's files
@@ -111,7 +111,7 @@ NLM_THREAD_NAME     =
 
 #
 # If this is specified, it will override VERSION value in
-# $(AP_WORK)\build\NWGNUenvironment.inc
+# $(AP_WORK)/build/NWGNUenvironment.inc
 #
 NLM_VERSION    =
 
@@ -228,10 +228,10 @@ nlms :: libs $(TARGET_nlm)
 
 #
 # Updated this target to create necessary directories and copy files to the
-# correct place.  (See $(AP_WORK)\build\NWGNUhead.inc for examples)
+# correct place.  (See $(AP_WORK)/build/NWGNUhead.inc for examples)
 #
 install :: nlms FORCE
-       copy $(OBJDIR)\*.nlm $(INSTALL)\$(BASEDIR)\modules\*.*
+       $(call COPY,$(OBJDIR)/*.nlm, $(INSTALLBASE)/modules/)
 
 #
 # Any specialized rules here
@@ -242,6 +242,6 @@ install :: nlms FORCE
 # in this makefile
 #
 
-include $(AP_WORK)\build\NWGNUtail.inc
+include $(APBUILD)/NWGNUtail.inc
 
 
index 3d7c6b32e001ed941dfbb2a900ba044b2fed2ee8..20e49000d0489d89f3ac04ccdf576676bacf9108 100644 (file)
@@ -10,7 +10,7 @@ SUBDIRS = \
 # paths to tools
 #
 
-include $(AP_WORK)\build\NWGNUhead.inc
+include $(AP_WORK)/build/NWGNUhead.inc
 
 #
 # build this level's files
@@ -116,7 +116,7 @@ NLM_THREAD_NAME     = mem_cach
 
 #
 # If this is specified, it will override VERSION value in 
-# $(AP_WORK)\build\NWGNUenvironment.inc
+# $(AP_WORK)/build/NWGNUenvironment.inc
 #
 NLM_VERSION    = 
 
@@ -129,12 +129,12 @@ NLM_STACK_SIZE    = 65536
 #
 # If this is specified it will be used by the link '-entry' directive
 #
-NLM_ENTRY_SYM  = _LibCPrelude
+NLM_ENTRY_SYM  =
 
 #
 # If this is specified it will be used by the link '-exit' directive
 #
-NLM_EXIT_SYM   = _LibCPostlude
+NLM_EXIT_SYM   =
 
 #
 # If this is specified it will be used by the link '-check' directive
@@ -144,7 +144,7 @@ NLM_CHECK_SYM       =
 #
 # If this is specified it will be used by the link '-flags' directive
 #
-NLM_FLAGS      = AUTOUNLOAD, PSEUDOPREEMPTION
+NLM_FLAGS      =
  
 #
 # If this is specified it will be linked in with the XDCData option in the def 
@@ -186,7 +186,7 @@ FILES_nlm_objs = \
 # These will be added as a library command in the link.opt file.
 #
 FILES_nlm_libs = \
-       libcpre.o \
+       $(PRELUDE) \
        $(EOLIST)
 
 #
@@ -219,7 +219,7 @@ FILE_nlm_copyright =
 #
 FILES_nlm_Ximports = \
        @libc.imp \
-       @$(APR)/aprlib.imp \
+       @aprlib.imp \
        @httpd.imp \
        @mod_cache.imp \
        $(EOLIST)
@@ -249,7 +249,7 @@ nlms :: libs $(TARGET_nlm)
 
 #
 # Updated this target to create necessary directories and copy files to the 
-# correct place.  (See $(AP_WORK)\build\NWGNUhead.inc for examples)
+# correct place.  (See $(AP_WORK)/build/NWGNUhead.inc for examples)
 #
 install :: nlms FORCE
     
@@ -262,6 +262,6 @@ install :: nlms FORCE
 # in this makefile
 #
 
-include $(AP_WORK)\build\NWGNUtail.inc
+include $(APBUILD)/NWGNUtail.inc
 
 
index 138c6a795c6a6920bf8d424fd75c692b058bdebc..589bc71bc3530e27c9d08aaab599b34ff7275e2a 100644 (file)
@@ -10,7 +10,7 @@ SUBDIRS = \
 # paths to tools
 #
 
-include $(AP_WORK)\build\NWGNUhead.inc
+include $(AP_WORK)/build/NWGNUhead.inc
 
 #
 # build this level's files
@@ -116,7 +116,7 @@ NLM_THREAD_NAME     = mod_cach
 
 #
 # If this is specified, it will override VERSION value in 
-# $(AP_WORK)\build\NWGNUenvironment.inc
+# $(AP_WORK)/build/NWGNUenvironment.inc
 #
 NLM_VERSION    = 
 
@@ -129,12 +129,12 @@ NLM_STACK_SIZE    = 65536
 #
 # If this is specified it will be used by the link '-entry' directive
 #
-NLM_ENTRY_SYM  = _LibCPrelude
+NLM_ENTRY_SYM  =
 
 #
 # If this is specified it will be used by the link '-exit' directive
 #
-NLM_EXIT_SYM   = _LibCPostlude
+NLM_EXIT_SYM   =
 
 #
 # If this is specified it will be used by the link '-check' directive
@@ -144,7 +144,7 @@ NLM_CHECK_SYM       =
 #
 # If this is specified it will be used by the link '-flags' directive
 #
-NLM_FLAGS      = AUTOUNLOAD, PSEUDOPREEMPTION
+NLM_FLAGS      =
  
 #
 # If this is specified it will be linked in with the XDCData option in the def 
@@ -185,7 +185,7 @@ FILES_nlm_objs = \
 # These will be added as a library command in the link.opt file.
 #
 FILES_nlm_libs = \
-       libcpre.o \
+       $(PRELUDE) \
        $(EOLIST)
 
 #
@@ -217,7 +217,7 @@ FILE_nlm_copyright =
 #
 FILES_nlm_Ximports = \
        @libc.imp \
-       @$(APR)/aprlib.imp \
+       @aprlib.imp \
        @httpd.imp \
        @netware.imp \
        $(EOLIST)
@@ -247,7 +247,7 @@ nlms :: libs $(TARGET_nlm)
 
 #
 # Updated this target to create necessary directories and copy files to the 
-# correct place.  (See $(AP_WORK)\build\NWGNUhead.inc for examples)
+# correct place.  (See $(AP_WORK)/build/NWGNUhead.inc for examples)
 #
 install :: nlms FORCE
     
@@ -260,6 +260,6 @@ install :: nlms FORCE
 # in this makefile
 #
 
-include $(AP_WORK)\build\NWGNUtail.inc
+include $(APBUILD)/NWGNUtail.inc
 
 
index fcaf2433037a694783e8d1bbf85c0125c943c75b..23013365527e48e52edb1d10c51e8b1eff56f17d 100644 (file)
@@ -10,7 +10,7 @@ SUBDIRS = \
 # paths to tools
 #
 
-include $(AP_WORK)\build\NWGNUhead.inc
+include $(AP_WORK)/build/NWGNUhead.inc
 
 #
 # build this level's files
@@ -115,7 +115,7 @@ NLM_THREAD_NAME     = DBD Module
 
 #
 # If this is specified, it will override VERSION value in 
-# $(AP_WORK)\build\NWGNUenvironment.inc
+# $(AP_WORK)/build/NWGNUenvironment.inc
 #
 NLM_VERSION    =
 
@@ -128,12 +128,12 @@ NLM_STACK_SIZE    = 8192
 #
 # If this is specified it will be used by the link '-entry' directive
 #
-NLM_ENTRY_SYM  = _LibCPrelude
+NLM_ENTRY_SYM  =
 
 #
 # If this is specified it will be used by the link '-exit' directive
 #
-NLM_EXIT_SYM   = _LibCPostlude
+NLM_EXIT_SYM   =
 
 #
 # If this is specified it will be used by the link '-check' directive
@@ -143,7 +143,7 @@ NLM_CHECK_SYM       =
 #
 # If these are specified it will be used by the link '-flags' directive
 #
-NLM_FLAGS      = AUTOUNLOAD, PSEUDOPREEMPTION
+NLM_FLAGS      =
 
 #
 # If this is specified it will be linked in with the XDCData option in the def 
@@ -178,7 +178,7 @@ FILES_nlm_objs = \
 # These will be added as a library command in the link.opt file.
 #
 FILES_nlm_libs = \
-       libcpre.o \
+       $(PRELUDE) \
        $(EOLIST)
 
 #
@@ -209,8 +209,8 @@ FILE_nlm_copyright =
 # Any additional imports go here
 #
 FILES_nlm_Ximports = \
-       @$(APR)/aprlib.imp \
-       @$(NWOS)/httpd.imp \
+       @aprlib.imp \
+       @httpd.imp \
        @libc.imp \
        $(EOLIST)
  
@@ -243,10 +243,10 @@ nlms :: libs $(TARGET_nlm)
 
 #
 # Updated this target to create necessary directories and copy files to the 
-# correct place.  (See $(AP_WORK)\build\NWGNUhead.inc for examples)
+# correct place.  (See $(AP_WORK)/build/NWGNUhead.inc for examples)
 #
 install :: nlms FORCE
-       copy $(OBJDIR)\*.nlm $(INSTALL)\$(BASEDIR)\modules\*.*
+       $(call COPY,$(OBJDIR)/*.nlm, $(INSTALLBASE)/modules/)
 
 #
 # Any specialized rules here
@@ -257,6 +257,6 @@ install :: nlms FORCE
 # in this makefile
 #
 
-include $(AP_WORK)\build\NWGNUtail.inc
+include $(APBUILD)/NWGNUtail.inc
 
 
index 5ade06a437f446fa90571fb93f565154700f2eca..c5cf297b2f661a0fdc42ff4a6485b57541bcda99 100644 (file)
@@ -10,7 +10,7 @@ SUBDIRS = \
 # paths to tools
 #
 
-include $(AP_WORK)\build\NWGNUhead.inc
+include $(AP_WORK)/build/NWGNUhead.inc
 
 #
 # build this level's files
@@ -117,7 +117,7 @@ NLM_THREAD_NAME     = modDAVFS Thread
 
 #
 # If this is specified, it will override VERSION value in 
-# $(AP_WORK)\build\NWGNUenvironment.inc
+# $(AP_WORK)/build/NWGNUenvironment.inc
 #
 NLM_VERSION    = 
 
@@ -130,12 +130,12 @@ NLM_STACK_SIZE    = 65536
 #
 # If this is specified it will be used by the link '-entry' directive
 #
-NLM_ENTRY_SYM  = _LibCPrelude
+NLM_ENTRY_SYM  =
 
 #
 # If this is specified it will be used by the link '-exit' directive
 #
-NLM_EXIT_SYM   = _LibCPostlude
+NLM_EXIT_SYM   =
 
 #
 # If this is specified it will be used by the link '-check' directive
@@ -145,7 +145,7 @@ NLM_CHECK_SYM       =
 #
 # If this is specified it will be used by the link '-flags' directive
 #
-NLM_FLAGS      = AUTOUNLOAD, PSEUDOPREEMPTION
+NLM_FLAGS      =
 
 #
 # Declare all target files (you must add your files here)
@@ -181,7 +181,7 @@ FILES_nlm_objs = \
 # These will be added as a library command in the link.opt file.
 #
 FILES_nlm_libs = \
-       libcpre.o \
+       $(PRELUDE) \
        $(EOLIST)
 
 #
@@ -214,7 +214,7 @@ FILE_nlm_copyright =
 #
 FILES_nlm_Ximports = \
        @libc.imp \
-       @$(APR)/aprlib.imp \
+       @aprlib.imp \
        @httpd.imp \
        @../main/dav.imp \
        $(EOLIST)
@@ -249,7 +249,7 @@ nlms :: libs $(TARGET_nlm)
 
 #
 # Updated this target to create necessary directories and copy files to the 
-# correct place.  (See $(AP_WORK)\build\NWGNUhead.inc for examples)
+# correct place.  (See $(AP_WORK)/build/NWGNUhead.inc for examples)
 #
 install :: nlms FORCE
        copy $(OBJDIR)\moddavfs.nlm $(INSTALL)\$(BASEDIR)\modules
@@ -264,6 +264,6 @@ vpath %.c ../../arch/netware
 # in this makefile
 #
 
-include $(AP_WORK)\build\NWGNUtail.inc
+include $(APBUILD)/NWGNUtail.inc
 
 
index 0d278ff8782035221b31854eabb8c1f4328fa28d..193370668082a091377694a4cef14fec7b43cae9 100644 (file)
@@ -10,7 +10,7 @@ SUBDIRS = \
 # paths to tools
 #
 
-include $(AP_WORK)\build\NWGNUhead.inc
+include $(AP_WORK)/build/NWGNUhead.inc
 
 #
 # build this level's files
@@ -117,7 +117,7 @@ NLM_THREAD_NAME     = modDAVLK Thread
 
 #
 # If this is specified, it will override VERSION value in 
-# $(AP_WORK)\build\NWGNUenvironment.inc
+# $(AP_WORK)/build/NWGNUenvironment.inc
 #
 NLM_VERSION    = 
 
@@ -130,12 +130,12 @@ NLM_STACK_SIZE    = 65536
 #
 # If this is specified it will be used by the link '-entry' directive
 #
-NLM_ENTRY_SYM  = _LibCPrelude
+NLM_ENTRY_SYM  =
 
 #
 # If this is specified it will be used by the link '-exit' directive
 #
-NLM_EXIT_SYM   = _LibCPostlude
+NLM_EXIT_SYM   =
 
 #
 # If this is specified it will be used by the link '-check' directive
@@ -145,7 +145,7 @@ NLM_CHECK_SYM       =
 #
 # If this is specified it will be used by the link '-flags' directive
 #
-NLM_FLAGS      = AUTOUNLOAD, PSEUDOPREEMPTION
+NLM_FLAGS      =
 
 #
 # Declare all target files (you must add your files here)
@@ -178,7 +178,7 @@ FILES_nlm_objs = \
 # These will be added as a library command in the link.opt file.
 #
 FILES_nlm_libs = \
-       libcpre.o \
+       $(PRELUDE) \
        $(EOLIST)
 
 #
@@ -211,7 +211,7 @@ FILE_nlm_copyright =
 #
 FILES_nlm_Ximports = \
        @libc.imp \
-       @$(APR)/aprlib.imp \
+       @aprlib.imp \
        @httpd.imp \
        @../main/dav.imp \
        $(EOLIST)
@@ -240,7 +240,7 @@ nlms :: libs $(TARGET_nlm)
 
 #
 # Updated this target to create necessary directories and copy files to the 
-# correct place.  (See $(AP_WORK)\build\NWGNUhead.inc for examples)
+# correct place.  (See $(AP_WORK)/build/NWGNUhead.inc for examples)
 #
 install :: nlms FORCE
        copy $(OBJDIR)\moddavlk.nlm $(INSTALL)\$(BASEDIR)\modules
@@ -253,6 +253,6 @@ install :: nlms FORCE
 # in this makefile
 #
 
-include $(AP_WORK)\build\NWGNUtail.inc
+include $(APBUILD)/NWGNUtail.inc
 
 
index a002e3100fcd41f2f200527263d4b85e09245d0d..a66665d34cd9a729b9db038666a92ba84186f747 100644 (file)
@@ -10,7 +10,7 @@ SUBDIRS = \
 # paths to tools
 #
 
-include $(AP_WORK)\build\NWGNUhead.inc
+include $(AP_WORK)/build/NWGNUhead.inc
 
 #
 # build this level's files
@@ -115,7 +115,7 @@ NLM_THREAD_NAME     = mod_DAV
 
 #
 # If this is specified, it will override VERSION value in 
-# $(AP_WORK)\build\NWGNUenvironment.inc
+# $(AP_WORK)/build/NWGNUenvironment.inc
 #
 NLM_VERSION    = 
 
@@ -128,12 +128,12 @@ NLM_STACK_SIZE    = 65536
 #
 # If this is specified it will be used by the link '-entry' directive
 #
-NLM_ENTRY_SYM  = _LibCPrelude
+NLM_ENTRY_SYM  =
 
 #
 # If this is specified it will be used by the link '-exit' directive
 #
-NLM_EXIT_SYM   = _LibCPostlude
+NLM_EXIT_SYM   =
 
 #
 # If this is specified it will be used by the link '-check' directive
@@ -143,7 +143,7 @@ NLM_CHECK_SYM       =
 #
 # If this is specified it will be used by the link '-flags' directive
 #
-NLM_FLAGS      = AUTOUNLOAD, PSEUDOPREEMPTION
+NLM_FLAGS      =
  
 #
 # If this is specified it will be linked in with the XDCData option in the def 
@@ -188,7 +188,7 @@ FILES_nlm_objs = \
 # These will be added as a library command in the link.opt file.
 #
 FILES_nlm_libs = \
-       libcpre.o \
+       $(PRELUDE) \
        $(EOLIST)
 
 #
@@ -220,7 +220,7 @@ FILE_nlm_copyright =
 #
 FILES_nlm_Ximports = \
        @libc.imp \
-       @$(APR)/aprlib.imp \
+       @aprlib.imp \
        @httpd.imp \
        $(EOLIST)
  
@@ -249,7 +249,7 @@ nlms :: libs $(TARGET_nlm)
 
 #
 # Updated this target to create necessary directories and copy files to the 
-# correct place.  (See $(AP_WORK)\build\NWGNUhead.inc for examples)
+# correct place.  (See $(AP_WORK)/build/NWGNUhead.inc for examples)
 #
 install :: nlms FORCE
        copy $(OBJDIR)\mod_dav.nlm $(INSTALL)\$(BASEDIR)\modules\*.*
@@ -263,6 +263,6 @@ install :: nlms FORCE
 # in this makefile
 #
 
-include $(AP_WORK)\build\NWGNUtail.inc
+include $(APBUILD)/NWGNUtail.inc
 
 
index 8a1993d34a8f88c686bf720c0b0215b13b13408f..1ab2f2f8cde9dc940665a5b5df330ef05a47b40b 100644 (file)
@@ -10,7 +10,7 @@ SUBDIRS = \
 # paths to tools
 #
 
-include $(AP_WORK)\build\NWGNUhead.inc
+include $(AP_WORK)/build/NWGNUhead.inc
 
 #
 # build this level's files
@@ -111,7 +111,7 @@ NLM_THREAD_NAME     =
 
 #
 # If this is specified, it will override VERSION value in 
-# $(AP_WORK)\build\NWGNUenvironment.inc
+# $(AP_WORK)/build/NWGNUenvironment.inc
 #
 NLM_VERSION    =
 
@@ -227,10 +227,10 @@ nlms :: libs $(TARGET_nlm)
 
 #
 # Updated this target to create necessary directories and copy files to the 
-# correct place.  (See $(AP_WORK)\build\NWGNUhead.inc for examples)
+# correct place.  (See $(AP_WORK)/build/NWGNUhead.inc for examples)
 #
 install :: nlms FORCE
-       copy $(OBJDIR)\*.nlm $(INSTALL)\$(BASEDIR)\modules\*.*
+       $(call COPY,$(OBJDIR)/*.nlm, $(INSTALLBASE)/modules/)
 
 #
 # Any specialized rules here
@@ -241,6 +241,6 @@ install :: nlms FORCE
 # in this makefile
 #
 
-include $(AP_WORK)\build\NWGNUtail.inc
+include $(APBUILD)/NWGNUtail.inc
 
 
index 0a37555a8440fb18dd4abc73d4861c3b12b4d02c..8fe0b7a5ef803e3e24ed4c9f7f18bc68310fd348 100644 (file)
@@ -8,7 +8,7 @@
 #
 
 ifndef EnvironmentDefined
-include $(AP_WORK)\build\NWGNUhead.inc
+include $(AP_WORK)/build/NWGNUhead.inc
 endif
 
 #
@@ -107,7 +107,7 @@ NLM_THREAD_NAME     = Bucketeer Module
 
 #
 # If this is specified, it will override VERSION value in 
-# $(AP_WORK)\build\NWGNUenvironment.inc
+# $(AP_WORK)/build/NWGNUenvironment.inc
 #
 NLM_VERSION    =
 
@@ -120,12 +120,12 @@ NLM_STACK_SIZE    = 8192
 #
 # If this is specified it will be used by the link '-entry' directive
 #
-NLM_ENTRY_SYM  = _LibCPrelude
+NLM_ENTRY_SYM  =
 
 #
 # If this is specified it will be used by the link '-exit' directive
 #
-NLM_EXIT_SYM   = _LibCPostlude
+NLM_EXIT_SYM   =
 
 #
 # If this is specified it will be used by the link '-check' directive
@@ -135,7 +135,7 @@ NLM_CHECK_SYM       =
 #
 # If these are specified it will be used by the link '-flags' directive
 #
-NLM_FLAGS      = AUTOUNLOAD, PSEUDOPREEMPTION
+NLM_FLAGS      =
 
 #
 # If this is specified it will be linked in with the XDCData option in the def 
@@ -170,7 +170,7 @@ FILES_nlm_objs = \
 # These will be added as a library command in the link.opt file.
 #
 FILES_nlm_libs = \
-       libcpre.o \
+       $(PRELUDE) \
        $(EOLIST)
 
 #
@@ -201,8 +201,8 @@ FILE_nlm_copyright =
 # Any additional imports go here
 #
 FILES_nlm_Ximports = \
-       @$(APR)/aprlib.imp \
-       @$(NWOS)/httpd.imp \
+       @aprlib.imp \
+       @httpd.imp \
        @libc.imp \
        $(EOLIST)
  
@@ -230,7 +230,7 @@ nlms :: libs $(TARGET_nlm)
 
 #
 # Updated this target to create necessary directories and copy files to the 
-# correct place.  (See $(AP_WORK)\build\NWGNUhead.inc for examples)
+# correct place.  (See $(AP_WORK)/build/NWGNUhead.inc for examples)
 #
 install :: nlms FORCE
 
@@ -243,6 +243,6 @@ install :: nlms FORCE
 # in this makefile
 #
 
-include $(AP_WORK)\build\NWGNUtail.inc
+include $(APBUILD)/NWGNUtail.inc
 
 
index 0be87ef53078fe792edca257cf8aadc6bbe10b00..3652e9ce7cc3e715702ffa9f4c7334c858461252 100644 (file)
@@ -8,7 +8,7 @@
 #
 
 ifndef EnvironmentDefined
-include $(AP_WORK)\build\NWGNUhead.inc
+include $(AP_WORK)/build/NWGNUhead.inc
 endif
 
 #
@@ -107,7 +107,7 @@ NLM_THREAD_NAME     = DumpIO Module
 
 #
 # If this is specified, it will override VERSION value in 
-# $(AP_WORK)\build\NWGNUenvironment.inc
+# $(AP_WORK)/build/NWGNUenvironment.inc
 #
 NLM_VERSION    =
 
@@ -120,12 +120,12 @@ NLM_STACK_SIZE    = 8192
 #
 # If this is specified it will be used by the link '-entry' directive
 #
-NLM_ENTRY_SYM  = _LibCPrelude
+NLM_ENTRY_SYM  =
 
 #
 # If this is specified it will be used by the link '-exit' directive
 #
-NLM_EXIT_SYM   = _LibCPostlude
+NLM_EXIT_SYM   =
 
 #
 # If this is specified it will be used by the link '-check' directive
@@ -135,7 +135,7 @@ NLM_CHECK_SYM       =
 #
 # If these are specified it will be used by the link '-flags' directive
 #
-NLM_FLAGS      = AUTOUNLOAD, PSEUDOPREEMPTION
+NLM_FLAGS      =
 
 #
 # If this is specified it will be linked in with the XDCData option in the def 
@@ -170,7 +170,7 @@ FILES_nlm_objs = \
 # These will be added as a library command in the link.opt file.
 #
 FILES_nlm_libs = \
-       libcpre.o \
+       $(PRELUDE) \
        $(EOLIST)
 
 #
@@ -201,8 +201,8 @@ FILE_nlm_copyright =
 # Any additional imports go here
 #
 FILES_nlm_Ximports = \
-       @$(APR)/aprlib.imp \
-       @$(NWOS)/httpd.imp \
+       @aprlib.imp \
+       @httpd.imp \
        @libc.imp \
        $(EOLIST)
  
@@ -230,7 +230,7 @@ nlms :: libs $(TARGET_nlm)
 
 #
 # Updated this target to create necessary directories and copy files to the 
-# correct place.  (See $(AP_WORK)\build\NWGNUhead.inc for examples)
+# correct place.  (See $(AP_WORK)/build/NWGNUhead.inc for examples)
 #
 install :: nlms FORCE
 
@@ -243,6 +243,6 @@ install :: nlms FORCE
 # in this makefile
 #
 
-include $(AP_WORK)\build\NWGNUtail.inc
+include $(APBUILD)/NWGNUtail.inc
 
 
index 623d8ed397a6f88806a7b1bca3b2c6c6b3d798cc..3b05dc9d19346f2442f3dfd4e79e0d6513607de7 100644 (file)
@@ -10,7 +10,7 @@ SUBDIRS = \
 # paths to tools
 #
 
-include $(AP_WORK)\build\NWGNUhead.inc
+include $(AP_WORK)/build/NWGNUhead.inc
 
 #
 # build this level's files
@@ -115,7 +115,7 @@ NLM_THREAD_NAME     = Echo Module
 
 #
 # If this is specified, it will override VERSION value in 
-# $(AP_WORK)\build\NWGNUenvironment.inc
+# $(AP_WORK)/build/NWGNUenvironment.inc
 #
 NLM_VERSION    =
 
@@ -128,12 +128,12 @@ NLM_STACK_SIZE    = 8192
 #
 # If this is specified it will be used by the link '-entry' directive
 #
-NLM_ENTRY_SYM  = _LibCPrelude
+NLM_ENTRY_SYM  =
 
 #
 # If this is specified it will be used by the link '-exit' directive
 #
-NLM_EXIT_SYM   = _LibCPostlude
+NLM_EXIT_SYM   =
 
 #
 # If this is specified it will be used by the link '-check' directive
@@ -143,7 +143,7 @@ NLM_CHECK_SYM       =
 #
 # If these are specified it will be used by the link '-flags' directive
 #
-NLM_FLAGS      = AUTOUNLOAD, PSEUDOPREEMPTION
+NLM_FLAGS      =
 
 #
 # If this is specified it will be linked in with the XDCData option in the def 
@@ -178,7 +178,7 @@ FILES_nlm_objs = \
 # These will be added as a library command in the link.opt file.
 #
 FILES_nlm_libs = \
-       libcpre.o \
+       $(PRELUDE) \
        $(EOLIST)
 
 #
@@ -209,8 +209,8 @@ FILE_nlm_copyright =
 # Any additional imports go here
 #
 FILES_nlm_Ximports = \
-       @$(APR)/aprlib.imp \
-       @$(NWOS)/httpd.imp \
+       @aprlib.imp \
+       @httpd.imp \
        @libc.imp \
        $(EOLIST)
  
@@ -238,10 +238,10 @@ nlms :: libs $(TARGET_nlm)
 
 #
 # Updated this target to create necessary directories and copy files to the 
-# correct place.  (See $(AP_WORK)\build\NWGNUhead.inc for examples)
+# correct place.  (See $(AP_WORK)/build/NWGNUhead.inc for examples)
 #
 install :: nlms FORCE
-       copy $(OBJDIR)\*.nlm $(INSTALL)\$(BASEDIR)\modules\*.*
+       $(call COPY,$(OBJDIR)/*.nlm, $(INSTALLBASE)/modules/)
 
 #
 # Any specialized rules here
@@ -252,6 +252,6 @@ install :: nlms FORCE
 # in this makefile
 #
 
-include $(AP_WORK)\build\NWGNUtail.inc
+include $(APBUILD)/NWGNUtail.inc
 
 
index 18f55f3dc012cd8d1647338ca72bb8a4b8d9098c..df9a86f49892d09546f8c61a4a0f52dfc4ffcb1e 100644 (file)
@@ -10,7 +10,7 @@ SUBDIRS = \
 # paths to tools
 #
 
-include $(AP_WORK)\build\NWGNUhead.inc
+include $(AP_WORK)/build/NWGNUhead.inc
 
 #
 # build this level's files
@@ -115,7 +115,7 @@ NLM_THREAD_NAME     = $(NLM_NAME) Module
 
 #
 # If this is specified, it will override VERSION value in
-# $(AP_WORK)\build\NWGNUenvironment.inc
+# $(AP_WORK)/build/NWGNUenvironment.inc
 #
 NLM_VERSION    =
 
@@ -128,12 +128,12 @@ NLM_STACK_SIZE    = 8192
 #
 # If this is specified it will be used by the link '-entry' directive
 #
-NLM_ENTRY_SYM  = _LibCPrelude
+NLM_ENTRY_SYM  =
 
 #
 # If this is specified it will be used by the link '-exit' directive
 #
-NLM_EXIT_SYM   = _LibCPostlude
+NLM_EXIT_SYM   =
 
 #
 # If this is specified it will be used by the link '-check' directive
@@ -143,7 +143,7 @@ NLM_CHECK_SYM       =
 #
 # If these are specified it will be used by the link '-flags' directive
 #
-NLM_FLAGS      = AUTOUNLOAD, PSEUDOPREEMPTION
+NLM_FLAGS      =
 
 #
 # If this is specified it will be linked in with the XDCData option in the def
@@ -178,7 +178,7 @@ FILES_nlm_objs = \
 # These will be added as a library command in the link.opt file.
 #
 FILES_nlm_libs = \
-       libcpre.o \
+       $(PRELUDE) \
        $(EOLIST)
 
 #
@@ -209,8 +209,8 @@ FILE_nlm_copyright =
 # Any additional imports go here
 #
 FILES_nlm_Ximports = \
-       @$(APR)/aprlib.imp \
-       @$(NWOS)/httpd.imp \
+       @aprlib.imp \
+       @httpd.imp \
        @libc.imp \
        $(EOLIST)
 
@@ -238,7 +238,7 @@ nlms :: libs $(TARGET_nlm)
 
 #
 # Updated this target to create necessary directories and copy files to the
-# correct place.  (See $(AP_WORK)\build\NWGNUhead.inc for examples)
+# correct place.  (See $(AP_WORK)/build/NWGNUhead.inc for examples)
 #
 install :: nlms FORCE
 
@@ -251,6 +251,6 @@ install :: nlms FORCE
 # in this makefile
 #
 
-include $(AP_WORK)\build\NWGNUtail.inc
+include $(APBUILD)/NWGNUtail.inc
 
 
index fedecb769f20ac77c2d5d9374cce441d2706385c..7429a44a03d71b7f5bad4fee90dde238c72271fb 100644 (file)
@@ -10,7 +10,7 @@ SUBDIRS = \
 # paths to tools
 #
 
-include $(AP_WORK)\build\NWGNUhead.inc
+include $(AP_WORK)/build/NWGNUhead.inc
 
 #
 # build this level's files
@@ -115,7 +115,7 @@ NLM_THREAD_NAME     = $(NLM_NAME) Module
 
 #
 # If this is specified, it will override VERSION value in
-# $(AP_WORK)\build\NWGNUenvironment.inc
+# $(AP_WORK)/build/NWGNUenvironment.inc
 #
 NLM_VERSION    =
 
@@ -128,12 +128,12 @@ NLM_STACK_SIZE    = 8192
 #
 # If this is specified it will be used by the link '-entry' directive
 #
-NLM_ENTRY_SYM  = _LibCPrelude
+NLM_ENTRY_SYM  =
 
 #
 # If this is specified it will be used by the link '-exit' directive
 #
-NLM_EXIT_SYM   = _LibCPostlude
+NLM_EXIT_SYM   =
 
 #
 # If this is specified it will be used by the link '-check' directive
@@ -143,7 +143,7 @@ NLM_CHECK_SYM       =
 #
 # If these are specified it will be used by the link '-flags' directive
 #
-NLM_FLAGS      = AUTOUNLOAD, PSEUDOPREEMPTION
+NLM_FLAGS      =
 
 #
 # If this is specified it will be linked in with the XDCData option in the def
@@ -178,7 +178,7 @@ FILES_nlm_objs = \
 # These will be added as a library command in the link.opt file.
 #
 FILES_nlm_libs = \
-       libcpre.o \
+       $(PRELUDE) \
        $(EOLIST)
 
 #
@@ -209,8 +209,8 @@ FILE_nlm_copyright =
 # Any additional imports go here
 #
 FILES_nlm_Ximports = \
-       @$(APR)/aprlib.imp \
-       @$(NWOS)/httpd.imp \
+       @aprlib.imp \
+       @httpd.imp \
        @libc.imp \
        $(EOLIST)
 
@@ -238,7 +238,7 @@ nlms :: libs $(TARGET_nlm)
 
 #
 # Updated this target to create necessary directories and copy files to the
-# correct place.  (See $(AP_WORK)\build\NWGNUhead.inc for examples)
+# correct place.  (See $(AP_WORK)/build/NWGNUhead.inc for examples)
 #
 install :: nlms FORCE
 
@@ -251,6 +251,6 @@ install :: nlms FORCE
 # in this makefile
 #
 
-include $(AP_WORK)\build\NWGNUtail.inc
+include $(APBUILD)/NWGNUtail.inc
 
 
index 913f7453775166d2bf41047bf73ae7c2e3fec154..4533342f00c365de2faa200bedde184d7064a148 100644 (file)
@@ -10,7 +10,7 @@ SUBDIRS = \
 # paths to tools
 #
 
-include $(AP_WORK)\build\NWGNUhead.inc
+include $(AP_WORK)/build/NWGNUhead.inc
 
 #
 # build this level's files
@@ -115,7 +115,7 @@ NLM_THREAD_NAME     = Example Module
 
 #
 # If this is specified, it will override VERSION value in
-# $(AP_WORK)\build\NWGNUenvironment.inc
+# $(AP_WORK)/build/NWGNUenvironment.inc
 #
 NLM_VERSION    =
 
@@ -128,12 +128,12 @@ NLM_STACK_SIZE    = 8192
 #
 # If this is specified it will be used by the link '-entry' directive
 #
-NLM_ENTRY_SYM  = _LibCPrelude
+NLM_ENTRY_SYM  =
 
 #
 # If this is specified it will be used by the link '-exit' directive
 #
-NLM_EXIT_SYM   = _LibCPostlude
+NLM_EXIT_SYM   =
 
 #
 # If this is specified it will be used by the link '-check' directive
@@ -143,7 +143,7 @@ NLM_CHECK_SYM       =
 #
 # If these are specified it will be used by the link '-flags' directive
 #
-NLM_FLAGS      = AUTOUNLOAD, PSEUDOPREEMPTION
+NLM_FLAGS      =
 
 #
 # If this is specified it will be linked in with the XDCData option in the def
@@ -178,7 +178,7 @@ FILES_nlm_objs = \
 # These will be added as a library command in the link.opt file.
 #
 FILES_nlm_libs = \
-       libcpre.o \
+       $(PRELUDE) \
        $(EOLIST)
 
 #
@@ -209,8 +209,8 @@ FILE_nlm_copyright =
 # Any additional imports go here
 #
 FILES_nlm_Ximports = \
-       @$(APR)/aprlib.imp \
-       @$(NWOS)/httpd.imp \
+       @aprlib.imp \
+       @httpd.imp \
        @libc.imp \
        $(EOLIST)
 
@@ -238,7 +238,7 @@ nlms :: libs $(TARGET_nlm)
 
 #
 # Updated this target to create necessary directories and copy files to the
-# correct place.  (See $(AP_WORK)\build\NWGNUhead.inc for examples)
+# correct place.  (See $(AP_WORK)/build/NWGNUhead.inc for examples)
 #
 install :: nlms FORCE
 
@@ -251,6 +251,6 @@ install :: nlms FORCE
 # in this makefile
 #
 
-include $(AP_WORK)\build\NWGNUtail.inc
+include $(APBUILD)/NWGNUtail.inc
 
 
index 1189aa8f0727ced7f99640ac831563fb63aa714f..e16075e75698af248b125d807cf9f735a2d055c2 100644 (file)
@@ -10,7 +10,7 @@ SUBDIRS = \
 # paths to tools
 #
 
-include $(AP_WORK)\build\NWGNUhead.inc
+include $(AP_WORK)/build/NWGNUhead.inc
 
 #
 # build this level's files
@@ -111,7 +111,7 @@ NLM_THREAD_NAME     =
 
 #
 # If this is specified, it will override VERSION value in
-# $(AP_WORK)\build\NWGNUenvironment.inc
+# $(AP_WORK)/build/NWGNUenvironment.inc
 #
 NLM_VERSION    =
 
@@ -236,10 +236,10 @@ nlms :: libs $(TARGET_nlm)
 
 #
 # Updated this target to create necessary directories and copy files to the
-# correct place.  (See $(AP_WORK)\build\NWGNUhead.inc for examples)
+# correct place.  (See $(AP_WORK)/build/NWGNUhead.inc for examples)
 #
 install :: nlms FORCE
-       copy $(OBJDIR)\*.nlm $(INSTALL)\$(BASEDIR)\modules\*.*
+       $(call COPY,$(OBJDIR)/*.nlm, $(INSTALLBASE)/modules/)
 
 #
 # Any specialized rules here
@@ -250,6 +250,6 @@ install :: nlms FORCE
 # in this makefile
 #
 
-include $(AP_WORK)\build\NWGNUtail.inc
+include $(APBUILD)/NWGNUtail.inc
 
 
index b4e4f5959ff35a923483c4e18a20204665b06d76..99326354d66be61e7a408c5537c587401585e944 100644 (file)
@@ -10,7 +10,7 @@ SUBDIRS = \
 # paths to tools
 #
 
-include $(AP_WORK)\build\NWGNUhead.inc
+include $(AP_WORK)/build/NWGNUhead.inc
 
 #
 # build this level's files
@@ -116,7 +116,7 @@ NLM_THREAD_NAME     = charsetl
 
 #
 # If this is specified, it will override VERSION value in
-# $(AP_WORK)\build\NWGNUenvironment.inc
+# $(AP_WORK)/build/NWGNUenvironment.inc
 #
 NLM_VERSION    =
 
@@ -129,12 +129,12 @@ NLM_STACK_SIZE    = 8192
 #
 # If this is specified it will be used by the link '-entry' directive
 #
-NLM_ENTRY_SYM  = _LibCPrelude
+NLM_ENTRY_SYM  =
 
 #
 # If this is specified it will be used by the link '-exit' directive
 #
-NLM_EXIT_SYM   = _LibCPostlude
+NLM_EXIT_SYM   =
 
 #
 # If this is specified it will be used by the link '-check' directive
@@ -144,7 +144,7 @@ NLM_CHECK_SYM       =
 #
 # If these are specified it will be used by the link '-flags' directive
 #
-NLM_FLAGS      = AUTOUNLOAD, PSEUDOPREEMPTION
+NLM_FLAGS      =
 
 #
 # If this is specified it will be linked in with the XDCData option in the def
@@ -179,7 +179,7 @@ FILES_nlm_objs = \
 # These will be added as a library command in the link.opt file.
 #
 FILES_nlm_libs = \
-       libcpre.o \
+       $(PRELUDE) \
        $(EOLIST)
 
 #
@@ -210,8 +210,8 @@ FILE_nlm_copyright =
 # Any additional imports go here
 #
 FILES_nlm_Ximports = \
-       @$(APR)/aprlib.imp \
-       @$(NWOS)/httpd.imp \
+       @aprlib.imp \
+       @httpd.imp \
        @libc.imp \
        $(EOLIST)
 
@@ -239,7 +239,7 @@ nlms :: libs $(TARGET_nlm)
 
 #
 # Updated this target to create necessary directories and copy files to the
-# correct place.  (See $(AP_WORK)\build\NWGNUhead.inc for examples)
+# correct place.  (See $(AP_WORK)/build/NWGNUhead.inc for examples)
 #
 install :: nlms FORCE
 
@@ -252,6 +252,6 @@ install :: nlms FORCE
 # in this makefile
 #
 
-include $(AP_WORK)\build\NWGNUtail.inc
+include $(APBUILD)/NWGNUtail.inc
 
 
index 03138e3561a4d2bfc43e99393d6ee39f10758708..579d1386b800e09cefe6e67c13c6dfaf32236d24 100644 (file)
@@ -13,7 +13,7 @@ SUBDIRS = \
 # paths to tools
 #
 
-include $(AP_WORK)\build\NWGNUhead.inc
+include $(AP_WORK)/build/NWGNUhead.inc
 
 #
 # build this level's files
@@ -118,7 +118,7 @@ NLM_THREAD_NAME     = Deflate Module
 
 #
 # If this is specified, it will override VERSION value in
-# $(AP_WORK)\build\NWGNUenvironment.inc
+# $(AP_WORK)/build/NWGNUenvironment.inc
 #
 NLM_VERSION    =
 
@@ -131,12 +131,12 @@ NLM_STACK_SIZE    = 8192
 #
 # If this is specified it will be used by the link '-entry' directive
 #
-NLM_ENTRY_SYM  = _LibCPrelude
+NLM_ENTRY_SYM  =
 
 #
 # If this is specified it will be used by the link '-exit' directive
 #
-NLM_EXIT_SYM   = _LibCPostlude
+NLM_EXIT_SYM   =
 
 #
 # If this is specified it will be used by the link '-check' directive
@@ -146,7 +146,7 @@ NLM_CHECK_SYM       =
 #
 # If these are specified it will be used by the link '-flags' directive
 #
-NLM_FLAGS      = AUTOUNLOAD, PSEUDOPREEMPTION
+NLM_FLAGS      =
 
 #
 # If this is specified it will be linked in with the XDCData option in the def
@@ -197,7 +197,7 @@ endif
 # These will be added as a library command in the link.opt file.
 #
 FILES_nlm_libs = \
-       libcpre.o \
+       $(PRELUDE) \
        $(EOLIST)
 
 #
@@ -228,8 +228,8 @@ FILE_nlm_copyright =
 # Any additional imports go here
 #
 FILES_nlm_Ximports = \
-       @$(APR)/aprlib.imp \
-       @$(NWOS)/httpd.imp \
+       @aprlib.imp \
+       @httpd.imp \
        @libc.imp \
        $(EOLIST)
 
@@ -257,10 +257,10 @@ nlms :: libs $(TARGET_nlm)
 
 #
 # Updated this target to create necessary directories and copy files to the
-# correct place.  (See $(AP_WORK)\build\NWGNUhead.inc for examples)
+# correct place.  (See $(AP_WORK)/build/NWGNUhead.inc for examples)
 #
 install :: nlms FORCE
-       copy $(OBJDIR)\*.nlm $(INSTALL)\$(BASEDIR)\modules\*.*
+       $(call COPY,$(OBJDIR)/*.nlm, $(INSTALLBASE)/modules/)
 
 #
 # Any specialized rules here
@@ -273,6 +273,6 @@ vpath %.c $(ZLIBSDK)
 # in this makefile
 #
 
-include $(AP_WORK)\build\NWGNUtail.inc
+include $(APBUILD)/NWGNUtail.inc
 
 
index 6c9d5c15ea90593ff30be7818f8b4935100f6469..16ae72a1d3a60264658326c33c67b67091b0077c 100644 (file)
@@ -8,7 +8,7 @@
 #
 
 ifndef EnvironmentDefined
-include $(AP_WORK)\build\NWGNUhead.inc
+include $(AP_WORK)/build/NWGNUhead.inc
 endif
 
 #
@@ -107,7 +107,7 @@ NLM_THREAD_NAME     = ExtFilter Module
 
 #
 # If this is specified, it will override VERSION value in 
-# $(AP_WORK)\build\NWGNUenvironment.inc
+# $(AP_WORK)/build/NWGNUenvironment.inc
 #
 NLM_VERSION    =
 
@@ -120,12 +120,12 @@ NLM_STACK_SIZE    = 8192
 #
 # If this is specified it will be used by the link '-entry' directive
 #
-NLM_ENTRY_SYM  = _LibCPrelude
+NLM_ENTRY_SYM  =
 
 #
 # If this is specified it will be used by the link '-exit' directive
 #
-NLM_EXIT_SYM   = _LibCPostlude
+NLM_EXIT_SYM   =
 
 #
 # If this is specified it will be used by the link '-check' directive
@@ -135,7 +135,7 @@ NLM_CHECK_SYM       =
 #
 # If these are specified it will be used by the link '-flags' directive
 #
-NLM_FLAGS      = AUTOUNLOAD, PSEUDOPREEMPTION
+NLM_FLAGS      =
 
 #
 # If this is specified it will be linked in with the XDCData option in the def 
@@ -170,7 +170,7 @@ FILES_nlm_objs = \
 # These will be added as a library command in the link.opt file.
 #
 FILES_nlm_libs = \
-       libcpre.o \
+       $(PRELUDE) \
        $(EOLIST)
 
 #
@@ -201,8 +201,8 @@ FILE_nlm_copyright =
 # Any additional imports go here
 #
 FILES_nlm_Ximports = \
-       @$(APR)/aprlib.imp \
-       @$(NWOS)/httpd.imp \
+       @aprlib.imp \
+       @httpd.imp \
        @libc.imp \
        $(EOLIST)
  
@@ -230,7 +230,7 @@ nlms :: libs $(TARGET_nlm)
 
 #
 # Updated this target to create necessary directories and copy files to the 
-# correct place.  (See $(AP_WORK)\build\NWGNUhead.inc for examples)
+# correct place.  (See $(AP_WORK)/build/NWGNUhead.inc for examples)
 #
 install :: nlms FORCE
 
@@ -243,6 +243,6 @@ install :: nlms FORCE
 # in this makefile
 #
 
-include $(AP_WORK)\build\NWGNUtail.inc
+include $(APBUILD)/NWGNUtail.inc
 
 
index e3a406647dd4a8d801f8384f52ccd904a616f921..2b21b230e269c421a770ebe7b094464e1589a059 100644 (file)
@@ -10,7 +10,7 @@ SUBDIRS = \
 # paths to tools
 #
 
-include $(AP_WORK)\build\NWGNUhead.inc
+include $(AP_WORK)/build/NWGNUhead.inc
 
 #
 # build this level's files
@@ -111,7 +111,7 @@ NLM_THREAD_NAME     =
 
 #
 # If this is specified, it will override VERSION value in
-# $(AP_WORK)\build\NWGNUenvironment.inc
+# $(AP_WORK)/build/NWGNUenvironment.inc
 #
 NLM_VERSION    =
 
@@ -238,10 +238,10 @@ nlms :: libs $(TARGET_nlm)
 
 #
 # Updated this target to create necessary directories and copy files to the
-# correct place.  (See $(AP_WORK)\build\NWGNUhead.inc for examples)
+# correct place.  (See $(AP_WORK)/build/NWGNUhead.inc for examples)
 #
 install :: nlms FORCE
-       copy $(OBJDIR)\*.nlm $(INSTALL)\$(BASEDIR)\modules\*.*
+       $(call COPY,$(OBJDIR)/*.nlm, $(INSTALLBASE)/modules/)
 
 #
 # Any specialized rules here
@@ -252,6 +252,6 @@ install :: nlms FORCE
 # in this makefile
 #
 
-include $(AP_WORK)\build\NWGNUtail.inc
+include $(APBUILD)/NWGNUtail.inc
 
 
index 9d46586fb33037eda89f8792e54bd38aaa43e172..3bc38385db2da9ead281aa45cc538a2b1b79e930 100644 (file)
@@ -8,7 +8,7 @@
 #
 
 ifndef EnvironmentDefined
-include $(AP_WORK)\build\NWGNUhead.inc
+include $(AP_WORK)/build/NWGNUhead.inc
 endif
 
 #
@@ -107,7 +107,7 @@ NLM_THREAD_NAME     = Filter Module
 
 #
 # If this is specified, it will override VERSION value in 
-# $(AP_WORK)\build\NWGNUenvironment.inc
+# $(AP_WORK)/build/NWGNUenvironment.inc
 #
 NLM_VERSION    =
 
@@ -120,12 +120,12 @@ NLM_STACK_SIZE    = 8192
 #
 # If this is specified it will be used by the link '-entry' directive
 #
-NLM_ENTRY_SYM  = _LibCPrelude
+NLM_ENTRY_SYM  =
 
 #
 # If this is specified it will be used by the link '-exit' directive
 #
-NLM_EXIT_SYM   = _LibCPostlude
+NLM_EXIT_SYM   =
 
 #
 # If this is specified it will be used by the link '-check' directive
@@ -135,7 +135,7 @@ NLM_CHECK_SYM       =
 #
 # If these are specified it will be used by the link '-flags' directive
 #
-NLM_FLAGS      = AUTOUNLOAD, PSEUDOPREEMPTION
+NLM_FLAGS      =
 
 #
 # If this is specified it will be linked in with the XDCData option in the def 
@@ -170,7 +170,7 @@ FILES_nlm_objs = \
 # These will be added as a library command in the link.opt file.
 #
 FILES_nlm_libs = \
-       libcpre.o \
+       $(PRELUDE) \
        $(EOLIST)
 
 #
@@ -201,8 +201,8 @@ FILE_nlm_copyright =
 # Any additional imports go here
 #
 FILES_nlm_Ximports = \
-       @$(APR)/aprlib.imp \
-       @$(NWOS)/httpd.imp \
+       @aprlib.imp \
+       @httpd.imp \
        @libc.imp \
        $(EOLIST)
  
@@ -230,7 +230,7 @@ nlms :: libs $(TARGET_nlm)
 
 #
 # Updated this target to create necessary directories and copy files to the 
-# correct place.  (See $(AP_WORK)\build\NWGNUhead.inc for examples)
+# correct place.  (See $(AP_WORK)/build/NWGNUhead.inc for examples)
 #
 install :: nlms FORCE
 
@@ -243,6 +243,6 @@ install :: nlms FORCE
 # in this makefile
 #
 
-include $(AP_WORK)\build\NWGNUtail.inc
+include $(APBUILD)/NWGNUtail.inc
 
 
index f48540ba4433486b96f5a3e8124c1bc51597e81d..a99f82c4247dcd572cef5e14021783df576dc74e 100644 (file)
@@ -10,7 +10,7 @@ SUBDIRS = \
 # paths to tools
 #
 
-include $(AP_WORK)\build\NWGNUhead.inc
+include $(AP_WORK)/build/NWGNUhead.inc
 
 #
 # build this level's files
@@ -115,7 +115,7 @@ NLM_THREAD_NAME     = $(NLM_NAME)
 
 #
 # If this is specified, it will override VERSION value in
-# $(AP_WORK)\build\NWGNUenvironment.inc
+# $(AP_WORK)/build/NWGNUenvironment.inc
 #
 NLM_VERSION    =
 
@@ -128,12 +128,12 @@ NLM_STACK_SIZE    = 8192
 #
 # If this is specified it will be used by the link '-entry' directive
 #
-NLM_ENTRY_SYM  = _LibCPrelude
+NLM_ENTRY_SYM  =
 
 #
 # If this is specified it will be used by the link '-exit' directive
 #
-NLM_EXIT_SYM   = _LibCPostlude
+NLM_EXIT_SYM   =
 
 #
 # If this is specified it will be used by the link '-check' directive
@@ -143,7 +143,7 @@ NLM_CHECK_SYM       =
 #
 # If these are specified it will be used by the link '-flags' directive
 #
-NLM_FLAGS      = AUTOUNLOAD, PSEUDOPREEMPTION
+NLM_FLAGS      =
 
 #
 # If this is specified it will be linked in with the XDCData option in the def
@@ -178,7 +178,7 @@ FILES_nlm_objs = \
 # These will be added as a library command in the link.opt file.
 #
 FILES_nlm_libs = \
-       libcpre.o \
+       $(PRELUDE) \
        $(EOLIST)
 
 #
@@ -209,8 +209,8 @@ FILE_nlm_copyright =
 # Any additional imports go here
 #
 FILES_nlm_Ximports = \
-       @$(APR)/aprlib.imp \
-       @$(NWOS)/httpd.imp \
+       @aprlib.imp \
+       @httpd.imp \
        @libc.imp \
        $(EOLIST)
 
@@ -238,7 +238,7 @@ nlms :: libs $(TARGET_nlm)
 
 #
 # Updated this target to create necessary directories and copy files to the
-# correct place.  (See $(AP_WORK)\build\NWGNUhead.inc for examples)
+# correct place.  (See $(AP_WORK)/build/NWGNUhead.inc for examples)
 #
 install :: nlms FORCE
 
@@ -251,6 +251,6 @@ install :: nlms FORCE
 # in this makefile
 #
 
-include $(AP_WORK)\build\NWGNUtail.inc
+include $(APBUILD)/NWGNUtail.inc
 
 
index 6c0d0db422680c2eb57ccedeb951eb70af5ddb75..e5775f285dc92d4702f6a2002bb556cf321348b8 100644 (file)
@@ -10,7 +10,7 @@ SUBDIRS = \
 # paths to tools
 #
 
-include $(AP_WORK)\build\NWGNUhead.inc
+include $(AP_WORK)/build/NWGNUhead.inc
 
 #
 # build this level's files
@@ -115,7 +115,7 @@ NLM_THREAD_NAME     = Substitute Module
 
 #
 # If this is specified, it will override VERSION value in
-# $(AP_WORK)\build\NWGNUenvironment.inc
+# $(AP_WORK)/build/NWGNUenvironment.inc
 #
 NLM_VERSION    =
 
@@ -128,12 +128,12 @@ NLM_STACK_SIZE    = 8192
 #
 # If this is specified it will be used by the link '-entry' directive
 #
-NLM_ENTRY_SYM  = _LibCPrelude
+NLM_ENTRY_SYM  =
 
 #
 # If this is specified it will be used by the link '-exit' directive
 #
-NLM_EXIT_SYM   = _LibCPostlude
+NLM_EXIT_SYM   =
 
 #
 # If this is specified it will be used by the link '-check' directive
@@ -143,7 +143,7 @@ NLM_CHECK_SYM       =
 #
 # If these are specified it will be used by the link '-flags' directive
 #
-NLM_FLAGS      = AUTOUNLOAD, PSEUDOPREEMPTION
+NLM_FLAGS      =
 
 #
 # If this is specified it will be linked in with the XDCData option in the def
@@ -178,7 +178,7 @@ FILES_nlm_objs = \
 # These will be added as a library command in the link.opt file.
 #
 FILES_nlm_libs = \
-       libcpre.o \
+       $(PRELUDE) \
        $(EOLIST)
 
 #
@@ -209,8 +209,8 @@ FILE_nlm_copyright =
 # Any additional imports go here
 #
 FILES_nlm_Ximports = \
-       @$(APR)/aprlib.imp \
-       @$(NWOS)/httpd.imp \
+       @aprlib.imp \
+       @httpd.imp \
        @libc.imp \
        $(EOLIST)
 
@@ -238,7 +238,7 @@ nlms :: libs $(TARGET_nlm)
 
 #
 # Updated this target to create necessary directories and copy files to the
-# correct place.  (See $(AP_WORK)\build\NWGNUhead.inc for examples)
+# correct place.  (See $(AP_WORK)/build/NWGNUhead.inc for examples)
 #
 install :: nlms FORCE
 
@@ -251,6 +251,6 @@ install :: nlms FORCE
 # in this makefile
 #
 
-include $(AP_WORK)\build\NWGNUtail.inc
+include $(APBUILD)/NWGNUtail.inc
 
 
index 69a59eda20dab7a94cbf5cc40abed0a928d996a4..86f0b1107a365d055d190ec9d7e6534aba65f776 100644 (file)
@@ -8,7 +8,7 @@
 #
 
 ifndef EnvironmentDefined
-include $(AP_WORK)\build\NWGNUhead.inc
+include $(AP_WORK)/build/NWGNUhead.inc
 endif
 
 #
@@ -108,7 +108,7 @@ NLM_THREAD_NAME     = Autoindex Module
 
 #
 # If this is specified, it will override VERSION value in 
-# $(AP_WORK)\build\NWGNUenvironment.inc
+# $(AP_WORK)/build/NWGNUenvironment.inc
 #
 NLM_VERSION    =
 
@@ -121,12 +121,12 @@ NLM_STACK_SIZE    = 8192
 #
 # If this is specified it will be used by the link '-entry' directive
 #
-NLM_ENTRY_SYM  = _LibCPrelude
+NLM_ENTRY_SYM  =
 
 #
 # If this is specified it will be used by the link '-exit' directive
 #
-NLM_EXIT_SYM   = _LibCPostlude
+NLM_EXIT_SYM   =
 
 #
 # If this is specified it will be used by the link '-check' directive
@@ -136,7 +136,7 @@ NLM_CHECK_SYM       =
 #
 # If these are specified it will be used by the link '-flags' directive
 #
-NLM_FLAGS      = AUTOUNLOAD, PSEUDOPREEMPTION
+NLM_FLAGS      =
 
 #
 # If this is specified it will be linked in with the XDCData option in the def 
@@ -171,7 +171,7 @@ FILES_nlm_objs = \
 # These will be added as a library command in the link.opt file.
 #
 FILES_nlm_libs = \
-       libcpre.o \
+       $(PRELUDE) \
        $(EOLIST)
 
 #
@@ -202,8 +202,8 @@ FILE_nlm_copyright =
 # Any additional imports go here
 #
 FILES_nlm_Ximports = \
-       @$(APR)/aprlib.imp \
-       @$(NWOS)/httpd.imp \
+       @aprlib.imp \
+       @httpd.imp \
        @libc.imp \
        $(EOLIST)
  
@@ -231,7 +231,7 @@ nlms :: libs $(TARGET_nlm)
 
 #
 # Updated this target to create necessary directories and copy files to the 
-# correct place.  (See $(AP_WORK)\build\NWGNUhead.inc for examples)
+# correct place.  (See $(AP_WORK)/build/NWGNUhead.inc for examples)
 #
 install :: nlms FORCE
 
@@ -244,6 +244,6 @@ install :: nlms FORCE
 # in this makefile
 #
 
-include $(AP_WORK)\build\NWGNUtail.inc
+include $(APBUILD)/NWGNUtail.inc
 
 
index 737af629eda1f3141df461821102da3566e8d1b9..9d60ac5b851d8e78bde6cbcb08a5cd3eaee4ea5b 100644 (file)
@@ -8,7 +8,7 @@
 #
 
 ifndef EnvironmentDefined
-include $(AP_WORK)\build\NWGNUhead.inc
+include $(AP_WORK)/build/NWGNUhead.inc
 endif
 
 #
@@ -107,7 +107,7 @@ NLM_THREAD_NAME     = Info Module
 
 #
 # If this is specified, it will override VERSION value in 
-# $(AP_WORK)\build\NWGNUenvironment.inc
+# $(AP_WORK)/build/NWGNUenvironment.inc
 #
 NLM_VERSION    =
 
@@ -120,12 +120,12 @@ NLM_STACK_SIZE    = 8192
 #
 # If this is specified it will be used by the link '-entry' directive
 #
-NLM_ENTRY_SYM  = _LibCPrelude
+NLM_ENTRY_SYM  =
 
 #
 # If this is specified it will be used by the link '-exit' directive
 #
-NLM_EXIT_SYM   = _LibCPostlude
+NLM_EXIT_SYM   =
 
 #
 # If this is specified it will be used by the link '-check' directive
@@ -135,7 +135,7 @@ NLM_CHECK_SYM       =
 #
 # If these are specified it will be used by the link '-flags' directive
 #
-NLM_FLAGS      = AUTOUNLOAD, PSEUDOPREEMPTION
+NLM_FLAGS      =
 
 #
 # If this is specified it will be linked in with the XDCData option in the def 
@@ -170,7 +170,7 @@ FILES_nlm_objs = \
 # These will be added as a library command in the link.opt file.
 #
 FILES_nlm_libs = \
-       libcpre.o \
+       $(PRELUDE) \
        $(EOLIST)
 
 #
@@ -201,8 +201,8 @@ FILE_nlm_copyright =
 # Any additional imports go here
 #
 FILES_nlm_Ximports = \
-       @$(APR)/aprlib.imp \
-       @$(NWOS)/httpd.imp \
+       @aprlib.imp \
+       @httpd.imp \
        @libc.imp \
        $(EOLIST)
  
@@ -230,7 +230,7 @@ nlms :: libs $(TARGET_nlm)
 
 #
 # Updated this target to create necessary directories and copy files to the 
-# correct place.  (See $(AP_WORK)\build\NWGNUhead.inc for examples)
+# correct place.  (See $(AP_WORK)/build/NWGNUhead.inc for examples)
 #
 install :: nlms FORCE
 
@@ -243,6 +243,6 @@ install :: nlms FORCE
 # in this makefile
 #
 
-include $(AP_WORK)\build\NWGNUtail.inc
+include $(APBUILD)/NWGNUtail.inc
 
 
index a895d8c4714fc89b350c42eb8cb60eea157ec9a1..1a6cb98a9524000044e826a445e1c0af21d28931 100644 (file)
@@ -10,7 +10,7 @@ SUBDIRS = \
 # paths to tools
 #
 
-include $(AP_WORK)\build\NWGNUhead.inc
+include $(AP_WORK)/build/NWGNUhead.inc
 
 #
 # build this level's files
@@ -111,7 +111,7 @@ NLM_THREAD_NAME     =
 
 #
 # If this is specified, it will override VERSION value in 
-# $(AP_WORK)\build\NWGNUenvironment.inc
+# $(AP_WORK)/build/NWGNUenvironment.inc
 #
 NLM_VERSION    =
 
@@ -230,10 +230,10 @@ nlms :: libs $(TARGET_nlm)
 
 #
 # Updated this target to create necessary directories and copy files to the 
-# correct place.  (See $(AP_WORK)\build\NWGNUhead.inc for examples)
+# correct place.  (See $(AP_WORK)/build/NWGNUhead.inc for examples)
 #
 install :: nlms FORCE
-       copy $(OBJDIR)\*.nlm $(INSTALL)\$(BASEDIR)\modules\*.*
+       $(call COPY,$(OBJDIR)/*.nlm, $(INSTALLBASE)/modules/)
 
 #
 # Any specialized rules here
@@ -244,6 +244,6 @@ install :: nlms FORCE
 # in this makefile
 #
 
-include $(AP_WORK)\build\NWGNUtail.inc
+include $(APBUILD)/NWGNUtail.inc
 
 
index 51778f15eec40771c4439634de4ddef71095d20f..d8ab0d1c61f5fa6d162c03a44d50fd038626a14a 100644 (file)
@@ -8,7 +8,7 @@
 #
 
 ifndef EnvironmentDefined
-include $(AP_WORK)\build\NWGNUhead.inc
+include $(AP_WORK)/build/NWGNUhead.inc
 endif
 
 #
@@ -108,7 +108,7 @@ NLM_THREAD_NAME     = Mod_asis Module
 
 #
 # If this is specified, it will override VERSION value in 
-# $(AP_WORK)\build\NWGNUenvironment.inc
+# $(AP_WORK)/build/NWGNUenvironment.inc
 #
 NLM_VERSION    =
 
@@ -121,12 +121,12 @@ NLM_STACK_SIZE    = 8192
 #
 # If this is specified it will be used by the link '-entry' directive
 #
-NLM_ENTRY_SYM  = _LibCPrelude
+NLM_ENTRY_SYM  =
 
 #
 # If this is specified it will be used by the link '-exit' directive
 #
-NLM_EXIT_SYM   = _LibCPostlude
+NLM_EXIT_SYM   =
 
 #
 # If this is specified it will be used by the link '-check' directive
@@ -136,7 +136,7 @@ NLM_CHECK_SYM       =
 #
 # If these are specified it will be used by the link '-flags' directive
 #
-NLM_FLAGS      = AUTOUNLOAD, PSEUDOPREEMPTION
+NLM_FLAGS      =
 
 #
 # If this is specified it will be linked in with the XDCData option in the def 
@@ -171,7 +171,7 @@ FILES_nlm_objs = \
 # These will be added as a library command in the link.opt file.
 #
 FILES_nlm_libs = \
-       libcpre.o \
+       $(PRELUDE) \
        $(EOLIST)
 
 #
@@ -202,8 +202,8 @@ FILE_nlm_copyright =
 # Any additional imports go here
 #
 FILES_nlm_Ximports = \
-       @$(APR)/aprlib.imp \
-       @$(NWOS)/httpd.imp \
+       @aprlib.imp \
+       @httpd.imp \
        @libc.imp \
        $(EOLIST)
  
@@ -231,7 +231,7 @@ nlms :: libs $(TARGET_nlm)
 
 #
 # Updated this target to create necessary directories and copy files to the 
-# correct place.  (See $(AP_WORK)\build\NWGNUhead.inc for examples)
+# correct place.  (See $(AP_WORK)/build/NWGNUhead.inc for examples)
 #
 install :: nlms FORCE
 
@@ -244,6 +244,6 @@ install :: nlms FORCE
 # in this makefile
 #
 
-include $(AP_WORK)\build\NWGNUtail.inc
+include $(APBUILD)/NWGNUtail.inc
 
 
index 3463e636bd743677d952ad676866a63969524a51..2c4330c7fc71fde676c318d18a899cad3a4fda48 100644 (file)
@@ -8,7 +8,7 @@
 #
 
 ifndef EnvironmentDefined
-include $(AP_WORK)\build\NWGNUhead.inc
+include $(AP_WORK)/build/NWGNUhead.inc
 endif
 
 #
@@ -109,7 +109,7 @@ NLM_THREAD_NAME     = Mod_cgi Module
 
 #
 # If this is specified, it will override VERSION value in 
-# $(AP_WORK)\build\NWGNUenvironment.inc
+# $(AP_WORK)/build/NWGNUenvironment.inc
 #
 NLM_VERSION    =
 
@@ -122,12 +122,12 @@ NLM_STACK_SIZE    = 8192
 #
 # If this is specified it will be used by the link '-entry' directive
 #
-NLM_ENTRY_SYM  = _LibCPrelude
+NLM_ENTRY_SYM  =
 
 #
 # If this is specified it will be used by the link '-exit' directive
 #
-NLM_EXIT_SYM   = _LibCPostlude
+NLM_EXIT_SYM   =
 
 #
 # If this is specified it will be used by the link '-check' directive
@@ -137,7 +137,7 @@ NLM_CHECK_SYM       =
 #
 # If these are specified it will be used by the link '-flags' directive
 #
-NLM_FLAGS      = AUTOUNLOAD, PSEUDOPREEMPTION
+NLM_FLAGS      =
 
 #
 # If this is specified it will be linked in with the XDCData option in the def 
@@ -172,7 +172,7 @@ FILES_nlm_objs = \
 # These will be added as a library command in the link.opt file.
 #
 FILES_nlm_libs = \
-       libcpre.o \
+       $(PRELUDE) \
        $(EOLIST)
 
 #
@@ -203,8 +203,8 @@ FILE_nlm_copyright =
 # Any additional imports go here
 #
 FILES_nlm_Ximports = \
-       @$(APR)/aprlib.imp \
-       @$(NWOS)/httpd.imp \
+       @aprlib.imp \
+       @httpd.imp \
        @libc.imp \
        $(EOLIST)
  
@@ -232,7 +232,7 @@ nlms :: libs $(TARGET_nlm)
 
 #
 # Updated this target to create necessary directories and copy files to the 
-# correct place.  (See $(AP_WORK)\build\NWGNUhead.inc for examples)
+# correct place.  (See $(AP_WORK)/build/NWGNUhead.inc for examples)
 #
 install :: nlms FORCE
 
@@ -245,6 +245,6 @@ install :: nlms FORCE
 # in this makefile
 #
 
-include $(AP_WORK)\build\NWGNUtail.inc
+include $(APBUILD)/NWGNUtail.inc
 
 
index e7519ac9b415bb55ab446dd40b19395516c9f2e7..630edb80c3658e7c924fbc8ef48a19a0e7880f55 100644 (file)
@@ -8,7 +8,7 @@
 #
 
 ifndef EnvironmentDefined
-include $(AP_WORK)\build\NWGNUhead.inc
+include $(AP_WORK)/build/NWGNUhead.inc
 endif
 
 #
@@ -107,7 +107,7 @@ NLM_THREAD_NAME     = Status Module
 
 #
 # If this is specified, it will override VERSION value in 
-# $(AP_WORK)\build\NWGNUenvironment.inc
+# $(AP_WORK)/build/NWGNUenvironment.inc
 #
 NLM_VERSION    =
 
@@ -120,12 +120,12 @@ NLM_STACK_SIZE    = 8192
 #
 # If this is specified it will be used by the link '-entry' directive
 #
-NLM_ENTRY_SYM  = _LibCPrelude
+NLM_ENTRY_SYM  =
 
 #
 # If this is specified it will be used by the link '-exit' directive
 #
-NLM_EXIT_SYM   = _LibCPostlude
+NLM_EXIT_SYM   =
 
 #
 # If this is specified it will be used by the link '-check' directive
@@ -135,7 +135,7 @@ NLM_CHECK_SYM       =
 #
 # If these are specified it will be used by the link '-flags' directive
 #
-NLM_FLAGS      = AUTOUNLOAD, PSEUDOPREEMPTION
+NLM_FLAGS      =
 
 #
 # If this is specified it will be linked in with the XDCData option in the def 
@@ -170,7 +170,7 @@ FILES_nlm_objs = \
 # These will be added as a library command in the link.opt file.
 #
 FILES_nlm_libs = \
-       libcpre.o \
+       $(PRELUDE) \
        $(EOLIST)
 
 #
@@ -201,8 +201,8 @@ FILE_nlm_copyright =
 # Any additional imports go here
 #
 FILES_nlm_Ximports = \
-       @$(APR)/aprlib.imp \
-       @$(NWOS)/httpd.imp \
+       @aprlib.imp \
+       @httpd.imp \
        @libc.imp \
        $(EOLIST)
  
@@ -230,7 +230,7 @@ nlms :: libs $(TARGET_nlm)
 
 #
 # Updated this target to create necessary directories and copy files to the 
-# correct place.  (See $(AP_WORK)\build\NWGNUhead.inc for examples)
+# correct place.  (See $(AP_WORK)/build/NWGNUhead.inc for examples)
 #
 install :: nlms FORCE
 
@@ -243,6 +243,6 @@ install :: nlms FORCE
 # in this makefile
 #
 
-include $(AP_WORK)\build\NWGNUtail.inc
+include $(APBUILD)/NWGNUtail.inc
 
 
index e3adacdae12c42f6b6dff44f79d16a45825b952b..aee46a3493f493385b76bce006858c5cbb0f954e 100644 (file)
@@ -8,7 +8,7 @@
 #
 
 ifndef EnvironmentDefined
-include $(AP_WORK)\build\NWGNUhead.inc
+include $(AP_WORK)/build/NWGNUhead.inc
 endif
 
 #
@@ -116,7 +116,7 @@ NLM_THREAD_NAME     = UtilLDAP Module
 
 #
 # If this is specified, it will override VERSION value in 
-# $(AP_WORK)\build\NWGNUenvironment.inc
+# $(AP_WORK)/build/NWGNUenvironment.inc
 #
 NLM_VERSION    =
 
@@ -129,12 +129,12 @@ NLM_STACK_SIZE    = 8192
 #
 # If this is specified it will be used by the link '-entry' directive
 #
-NLM_ENTRY_SYM  = _LibCPrelude
+NLM_ENTRY_SYM  =
 
 #
 # If this is specified it will be used by the link '-exit' directive
 #
-NLM_EXIT_SYM   = _LibCPostlude
+NLM_EXIT_SYM   =
 
 #
 # If this is specified it will be used by the link '-check' directive
@@ -144,7 +144,7 @@ NLM_CHECK_SYM       =
 #
 # If these are specified it will be used by the link '-flags' directive
 #
-NLM_FLAGS      = AUTOUNLOAD, PSEUDOPREEMPTION
+NLM_FLAGS      =
 
 #
 # If this is specified it will be linked in with the XDCData option in the def 
@@ -181,7 +181,7 @@ FILES_nlm_objs = \
 # These will be added as a library command in the link.opt file.
 #
 FILES_nlm_libs = \
-       libcpre.o \
+       $(PRELUDE) \
        $(EOLIST)
 
 #
@@ -214,11 +214,11 @@ FILE_nlm_copyright =
 # Any additional imports go here
 #
 FILES_nlm_Ximports = \
-       @$(APR)/aprlib.imp \
-       @$(NWOS)/httpd.imp \
+       @aprlib.imp \
+       @httpd.imp \
        @libc.imp \
-       @$(LDAPSDK)/imports/lldapsdk.imp \
-       @$(LDAPSDK)/imports/lldapssl.imp \
+       @lldapsdk.imp \
+       @lldapssl.imp \
        $(EOLIST)
  
 #   
@@ -245,10 +245,10 @@ nlms :: libs $(TARGET_nlm)
 
 #
 # Updated this target to create necessary directories and copy files to the 
-# correct place.  (See $(AP_WORK)\build\NWGNUhead.inc for examples)
+# correct place.  (See $(AP_WORK)/build/NWGNUhead.inc for examples)
 #
 install :: nlms FORCE
-       copy $(OBJDIR)\*.nlm $(INSTALL)\$(BASEDIR)\modules\*.*
+       $(call COPY,$(OBJDIR)/*.nlm, $(INSTALLBASE)/modules/)
 
 #
 # Any specialized rules here
@@ -259,6 +259,6 @@ install :: nlms FORCE
 # in this makefile
 #
 
-include $(AP_WORK)\build\NWGNUtail.inc
+include $(APBUILD)/NWGNUtail.inc
 
 
index eda7f83e47e600b8cbbbaae33b7b4850689fea03..ac0250cd8f6e9650d6bf66add5c0cd466f617488 100644 (file)
@@ -10,7 +10,7 @@ SUBDIRS = \
 # paths to tools
 #
 
-include $(AP_WORK)\build\NWGNUhead.inc
+include $(AP_WORK)/build/NWGNUhead.inc
 
 #
 # build this level's files
@@ -115,7 +115,7 @@ NLM_THREAD_NAME     = Forensic Module
 
 #
 # If this is specified, it will override VERSION value in 
-# $(AP_WORK)\build\NWGNUenvironment.inc
+# $(AP_WORK)/build/NWGNUenvironment.inc
 #
 NLM_VERSION    =
 
@@ -128,12 +128,12 @@ NLM_STACK_SIZE    = 8192
 #
 # If this is specified it will be used by the link '-entry' directive
 #
-NLM_ENTRY_SYM  = _LibCPrelude
+NLM_ENTRY_SYM  =
 
 #
 # If this is specified it will be used by the link '-exit' directive
 #
-NLM_EXIT_SYM   = _LibCPostlude
+NLM_EXIT_SYM   =
 
 #
 # If this is specified it will be used by the link '-check' directive
@@ -143,7 +143,7 @@ NLM_CHECK_SYM       =
 #
 # If these are specified it will be used by the link '-flags' directive
 #
-NLM_FLAGS      = AUTOUNLOAD, PSEUDOPREEMPTION
+NLM_FLAGS      =
 
 #
 # If this is specified it will be linked in with the XDCData option in the def 
@@ -178,7 +178,7 @@ FILES_nlm_objs = \
 # These will be added as a library command in the link.opt file.
 #
 FILES_nlm_libs = \
-       libcpre.o \
+       $(PRELUDE) \
        $(EOLIST)
 
 #
@@ -209,8 +209,8 @@ FILE_nlm_copyright =
 # Any additional imports go here
 #
 FILES_nlm_Ximports = \
-       @$(APR)/aprlib.imp \
-       @$(NWOS)/httpd.imp \
+       @aprlib.imp \
+       @httpd.imp \
        @libc.imp \
        $(EOLIST)
  
@@ -238,10 +238,10 @@ nlms :: libs $(TARGET_nlm)
 
 #
 # Updated this target to create necessary directories and copy files to the 
-# correct place.  (See $(AP_WORK)\build\NWGNUhead.inc for examples)
+# correct place.  (See $(AP_WORK)/build/NWGNUhead.inc for examples)
 #
 install :: nlms FORCE
-       copy $(OBJDIR)\*.nlm $(INSTALL)\$(BASEDIR)\modules\*.*
+       $(call COPY,$(OBJDIR)/*.nlm, $(INSTALLBASE)/modules/)
 
 #
 # Any specialized rules here
@@ -252,6 +252,6 @@ install :: nlms FORCE
 # in this makefile
 #
 
-include $(AP_WORK)\build\NWGNUtail.inc
+include $(APBUILD)/NWGNUtail.inc
 
 
index 219e13fe204773e3090a47a7e5a76179b5f6d80c..4b3984fbb7834acf543c9e3e13701641a5cbac5a 100644 (file)
@@ -10,7 +10,7 @@ SUBDIRS = \
 # paths to tools
 #
 
-include $(AP_WORK)\build\NWGNUhead.inc
+include $(AP_WORK)/build/NWGNUhead.inc
 
 #
 # build this level's files
@@ -111,7 +111,7 @@ NLM_THREAD_NAME     =
 
 #
 # If this is specified, it will override VERSION value in 
-# $(AP_WORK)\build\NWGNUenvironment.inc
+# $(AP_WORK)/build/NWGNUenvironment.inc
 #
 NLM_VERSION    =
 
@@ -227,10 +227,10 @@ nlms :: libs $(TARGET_nlm)
 
 #
 # Updated this target to create necessary directories and copy files to the 
-# correct place.  (See $(AP_WORK)\build\NWGNUhead.inc for examples)
+# correct place.  (See $(AP_WORK)/build/NWGNUhead.inc for examples)
 #
 install :: nlms FORCE
-       copy $(OBJDIR)\*.nlm $(INSTALL)\$(BASEDIR)\modules\*.*
+       $(call COPY,$(OBJDIR)/*.nlm, $(INSTALLBASE)/modules/)
 
 #
 # Any specialized rules here
@@ -241,6 +241,6 @@ install :: nlms FORCE
 # in this makefile
 #
 
-include $(AP_WORK)\build\NWGNUtail.inc
+include $(APBUILD)/NWGNUtail.inc
 
 
index 4588c824a903fcfeec90bcc6f4febc2fe607a5f7..09d9c8336f23a6a37d275b3359e03a8467fa4144 100644 (file)
@@ -10,7 +10,7 @@ SUBDIRS = \
 # paths to tools
 #
 
-include $(AP_WORK)\build\NWGNUhead.inc
+include $(AP_WORK)/build/NWGNUhead.inc
 
 #
 # build this level's files
@@ -115,7 +115,7 @@ NLM_THREAD_NAME     = Logio Module
 
 #
 # If this is specified, it will override VERSION value in 
-# $(AP_WORK)\build\NWGNUenvironment.inc
+# $(AP_WORK)/build/NWGNUenvironment.inc
 #
 NLM_VERSION    =
 
@@ -128,12 +128,12 @@ NLM_STACK_SIZE    = 8192
 #
 # If this is specified it will be used by the link '-entry' directive
 #
-NLM_ENTRY_SYM  = _LibCPrelude
+NLM_ENTRY_SYM  =
 
 #
 # If this is specified it will be used by the link '-exit' directive
 #
-NLM_EXIT_SYM   = _LibCPostlude
+NLM_EXIT_SYM   =
 
 #
 # If this is specified it will be used by the link '-check' directive
@@ -143,7 +143,7 @@ NLM_CHECK_SYM       =
 #
 # If these are specified it will be used by the link '-flags' directive
 #
-NLM_FLAGS      = AUTOUNLOAD, PSEUDOPREEMPTION
+NLM_FLAGS      =
 
 #
 # If this is specified it will be linked in with the XDCData option in the def 
@@ -178,7 +178,7 @@ FILES_nlm_objs = \
 # These will be added as a library command in the link.opt file.
 #
 FILES_nlm_libs = \
-       libcpre.o \
+       $(PRELUDE) \
        $(EOLIST)
 
 #
@@ -209,8 +209,8 @@ FILE_nlm_copyright =
 # Any additional imports go here
 #
 FILES_nlm_Ximports = \
-       @$(APR)/aprlib.imp \
-       @$(NWOS)/httpd.imp \
+       @aprlib.imp \
+       @httpd.imp \
        @libc.imp \
        $(EOLIST)
  
@@ -238,10 +238,10 @@ nlms :: libs $(TARGET_nlm)
 
 #
 # Updated this target to create necessary directories and copy files to the 
-# correct place.  (See $(AP_WORK)\build\NWGNUhead.inc for examples)
+# correct place.  (See $(AP_WORK)/build/NWGNUhead.inc for examples)
 #
 install :: nlms FORCE
-       copy $(OBJDIR)\*.nlm $(INSTALL)\$(BASEDIR)\modules\*.*
+       $(call COPY,$(OBJDIR)/*.nlm, $(INSTALLBASE)/modules/)
 
 #
 # Any specialized rules here
@@ -252,6 +252,6 @@ install :: nlms FORCE
 # in this makefile
 #
 
-include $(AP_WORK)\build\NWGNUtail.inc
+include $(APBUILD)/NWGNUtail.inc
 
 
index 7e0e4f61d461f4e79d78e4853edc5ef0a2e55b56..3909c34aae97728d2d93f638c63562f78c7c37a0 100644 (file)
@@ -8,7 +8,7 @@
 #
 
 ifndef EnvironmentDefined
-include $(AP_WORK)\build\NWGNUhead.inc
+include $(AP_WORK)/build/NWGNUhead.inc
 endif
 
 #
@@ -107,7 +107,7 @@ NLM_THREAD_NAME     = Actions Module
 
 #
 # If this is specified, it will override VERSION value in 
-# $(AP_WORK)\build\NWGNUenvironment.inc
+# $(AP_WORK)/build/NWGNUenvironment.inc
 #
 NLM_VERSION    =
 
@@ -120,12 +120,12 @@ NLM_STACK_SIZE    = 8192
 #
 # If this is specified it will be used by the link '-entry' directive
 #
-NLM_ENTRY_SYM  = _LibCPrelude
+NLM_ENTRY_SYM  =
 
 #
 # If this is specified it will be used by the link '-exit' directive
 #
-NLM_EXIT_SYM   = _LibCPostlude
+NLM_EXIT_SYM   =
 
 #
 # If this is specified it will be used by the link '-check' directive
@@ -135,7 +135,7 @@ NLM_CHECK_SYM       =
 #
 # If these are specified it will be used by the link '-flags' directive
 #
-NLM_FLAGS      = AUTOUNLOAD, PSEUDOPREEMPTION
+NLM_FLAGS      =
 
 #
 # If this is specified it will be linked in with the XDCData option in the def 
@@ -170,7 +170,7 @@ FILES_nlm_objs = \
 # These will be added as a library command in the link.opt file.
 #
 FILES_nlm_libs = \
-       libcpre.o \
+       $(PRELUDE) \
        $(EOLIST)
 
 #
@@ -201,8 +201,8 @@ FILE_nlm_copyright =
 # Any additional imports go here
 #
 FILES_nlm_Ximports = \
-       @$(APR)/aprlib.imp \
-       @$(NWOS)/httpd.imp \
+       @aprlib.imp \
+       @httpd.imp \
        @libc.imp \
        $(EOLIST)
  
@@ -230,7 +230,7 @@ nlms :: libs $(TARGET_nlm)
 
 #
 # Updated this target to create necessary directories and copy files to the 
-# correct place.  (See $(AP_WORK)\build\NWGNUhead.inc for examples)
+# correct place.  (See $(AP_WORK)/build/NWGNUhead.inc for examples)
 #
 install :: nlms FORCE
 
@@ -243,6 +243,6 @@ install :: nlms FORCE
 # in this makefile
 #
 
-include $(AP_WORK)\build\NWGNUtail.inc
+include $(APBUILD)/NWGNUtail.inc
 
 
index b5d4cebb20b99423acfca037c2f548c16a022d16..e91470f283ef283eb47b731ca7dbb17d8fa25e4e 100644 (file)
@@ -8,7 +8,7 @@
 #
 
 ifndef EnvironmentDefined
-include $(AP_WORK)\build\NWGNUhead.inc
+include $(AP_WORK)/build/NWGNUhead.inc
 endif
 
 #
@@ -108,7 +108,7 @@ NLM_THREAD_NAME     = Image Map Module
 
 #
 # If this is specified, it will override VERSION value in 
-# $(AP_WORK)\build\NWGNUenvironment.inc
+# $(AP_WORK)/build/NWGNUenvironment.inc
 #
 NLM_VERSION    =
 
@@ -121,12 +121,12 @@ NLM_STACK_SIZE    = 8192
 #
 # If this is specified it will be used by the link '-entry' directive
 #
-NLM_ENTRY_SYM  = _LibCPrelude
+NLM_ENTRY_SYM  =
 
 #
 # If this is specified it will be used by the link '-exit' directive
 #
-NLM_EXIT_SYM   = _LibCPostlude
+NLM_EXIT_SYM   =
 
 #
 # If this is specified it will be used by the link '-check' directive
@@ -136,7 +136,7 @@ NLM_CHECK_SYM       =
 #
 # If these are specified it will be used by the link '-flags' directive
 #
-NLM_FLAGS      = AUTOUNLOAD, PSEUDOPREEMPTION
+NLM_FLAGS      =
 
 #
 # If this is specified it will be linked in with the XDCData option in the def 
@@ -171,7 +171,7 @@ FILES_nlm_objs = \
 # These will be added as a library command in the link.opt file.
 #
 FILES_nlm_libs = \
-       libcpre.o \
+       $(PRELUDE) \
        $(EOLIST)
 
 #
@@ -202,8 +202,8 @@ FILE_nlm_copyright =
 # Any additional imports go here
 #
 FILES_nlm_Ximports = \
-       @$(APR)/aprlib.imp \
-       @$(NWOS)/httpd.imp \
+       @aprlib.imp \
+       @httpd.imp \
        @libc.imp \
        $(EOLIST)
  
@@ -231,7 +231,7 @@ nlms :: libs $(TARGET_nlm)
 
 #
 # Updated this target to create necessary directories and copy files to the 
-# correct place.  (See $(AP_WORK)\build\NWGNUhead.inc for examples)
+# correct place.  (See $(AP_WORK)/build/NWGNUhead.inc for examples)
 #
 install :: nlms FORCE
 
@@ -244,6 +244,6 @@ install :: nlms FORCE
 # in this makefile
 #
 
-include $(AP_WORK)\build\NWGNUtail.inc
+include $(APBUILD)/NWGNUtail.inc
 
 
index 35e0f82521c3b3606a77431e632395caf43bd006..76c1d2734a1da24275c0db909a2353d6354ff870 100644 (file)
@@ -10,7 +10,7 @@ SUBDIRS = \
 # paths to tools
 #
 
-include $(AP_WORK)\build\NWGNUhead.inc
+include $(AP_WORK)/build/NWGNUhead.inc
 
 #
 # build this level's files
@@ -111,7 +111,7 @@ NLM_THREAD_NAME     =
 
 #
 # If this is specified, it will override VERSION value in 
-# $(AP_WORK)\build\NWGNUenvironment.inc
+# $(AP_WORK)/build/NWGNUenvironment.inc
 #
 NLM_VERSION    =
 
@@ -231,10 +231,10 @@ nlms :: libs $(TARGET_nlm)
 
 #
 # Updated this target to create necessary directories and copy files to the 
-# correct place.  (See $(AP_WORK)\build\NWGNUhead.inc for examples)
+# correct place.  (See $(AP_WORK)/build/NWGNUhead.inc for examples)
 #
 install :: nlms FORCE
-       copy $(OBJDIR)\*.nlm $(INSTALL)\$(BASEDIR)\modules\*.*
+       $(call COPY,$(OBJDIR)/*.nlm, $(INSTALLBASE)/modules/)
 
 #
 # Any specialized rules here
@@ -245,6 +245,6 @@ install :: nlms FORCE
 # in this makefile
 #
 
-include $(AP_WORK)\build\NWGNUtail.inc
+include $(APBUILD)/NWGNUtail.inc
 
 
index abccf0091de0216dfa8ba17c1b3fccba62e59c5b..1a88481bf99591b46c61a1ee2441ee852dfd68c1 100644 (file)
@@ -8,7 +8,7 @@
 #
 
 ifndef EnvironmentDefined
-include $(AP_WORK)\build\NWGNUhead.inc
+include $(AP_WORK)/build/NWGNUhead.inc
 endif
 
 #
@@ -108,7 +108,7 @@ NLM_THREAD_NAME     = Rewrite Module
 
 #
 # If this is specified, it will override VERSION value in 
-# $(AP_WORK)\build\NWGNUenvironment.inc
+# $(AP_WORK)/build/NWGNUenvironment.inc
 #
 NLM_VERSION    =
 
@@ -121,12 +121,12 @@ NLM_STACK_SIZE    = 8192
 #
 # If this is specified it will be used by the link '-entry' directive
 #
-NLM_ENTRY_SYM  = _LibCPrelude
+NLM_ENTRY_SYM  =
 
 #
 # If this is specified it will be used by the link '-exit' directive
 #
-NLM_EXIT_SYM   = _LibCPostlude
+NLM_EXIT_SYM   =
 
 #
 # If this is specified it will be used by the link '-check' directive
@@ -136,7 +136,7 @@ NLM_CHECK_SYM       =
 #
 # If these are specified it will be used by the link '-flags' directive
 #
-NLM_FLAGS      = AUTOUNLOAD, PSEUDOPREEMPTION
+NLM_FLAGS      =
 
 #
 # If this is specified it will be linked in with the XDCData option in the def 
@@ -171,7 +171,7 @@ FILES_nlm_objs = \
 # These will be added as a library command in the link.opt file.
 #
 FILES_nlm_libs = \
-       libcpre.o \
+       $(PRELUDE) \
        $(EOLIST)
 
 #
@@ -202,8 +202,8 @@ FILE_nlm_copyright =
 # Any additional imports go here
 #
 FILES_nlm_Ximports = \
-       @$(APR)/aprlib.imp \
-       @$(NWOS)/httpd.imp \
+       @aprlib.imp \
+       @httpd.imp \
        @libc.imp \
        $(EOLIST)
  
@@ -231,7 +231,7 @@ nlms :: libs $(TARGET_nlm)
 
 #
 # Updated this target to create necessary directories and copy files to the 
-# correct place.  (See $(AP_WORK)\build\NWGNUhead.inc for examples)
+# correct place.  (See $(AP_WORK)/build/NWGNUhead.inc for examples)
 #
 install :: nlms FORCE
 
@@ -244,6 +244,6 @@ install :: nlms FORCE
 # in this makefile
 #
 
-include $(AP_WORK)\build\NWGNUtail.inc
+include $(APBUILD)/NWGNUtail.inc
 
 
index 6a045bdc4fa73fe01907c9f7d179f6847d5770a0..0e05a6b319859d30012683391d37dd01ffd403e9 100644 (file)
@@ -8,7 +8,7 @@
 #
 
 ifndef EnvironmentDefined
-include $(AP_WORK)\build\NWGNUhead.inc
+include $(AP_WORK)/build/NWGNUhead.inc
 endif
 
 #
@@ -107,7 +107,7 @@ NLM_THREAD_NAME     = Speling Module
 
 #
 # If this is specified, it will override VERSION value in 
-# $(AP_WORK)\build\NWGNUenvironment.inc
+# $(AP_WORK)/build/NWGNUenvironment.inc
 #
 NLM_VERSION    =
 
@@ -120,12 +120,12 @@ NLM_STACK_SIZE    = 8192
 #
 # If this is specified it will be used by the link '-entry' directive
 #
-NLM_ENTRY_SYM  = _LibCPrelude
+NLM_ENTRY_SYM  =
 
 #
 # If this is specified it will be used by the link '-exit' directive
 #
-NLM_EXIT_SYM   = _LibCPostlude
+NLM_EXIT_SYM   =
 
 #
 # If this is specified it will be used by the link '-check' directive
@@ -135,7 +135,7 @@ NLM_CHECK_SYM       =
 #
 # If these are specified it will be used by the link '-flags' directive
 #
-NLM_FLAGS      = AUTOUNLOAD, PSEUDOPREEMPTION
+NLM_FLAGS      =
 
 #
 # If this is specified it will be linked in with the XDCData option in the def 
@@ -170,7 +170,7 @@ FILES_nlm_objs = \
 # These will be added as a library command in the link.opt file.
 #
 FILES_nlm_libs = \
-       libcpre.o \
+       $(PRELUDE) \
        $(EOLIST)
 
 #
@@ -201,8 +201,8 @@ FILE_nlm_copyright =
 # Any additional imports go here
 #
 FILES_nlm_Ximports = \
-       @$(APR)/aprlib.imp \
-       @$(NWOS)/httpd.imp \
+       @aprlib.imp \
+       @httpd.imp \
        @libc.imp \
        $(EOLIST)
  
@@ -230,7 +230,7 @@ nlms :: libs $(TARGET_nlm)
 
 #
 # Updated this target to create necessary directories and copy files to the 
-# correct place.  (See $(AP_WORK)\build\NWGNUhead.inc for examples)
+# correct place.  (See $(AP_WORK)/build/NWGNUhead.inc for examples)
 #
 install :: nlms FORCE
 
@@ -243,6 +243,6 @@ install :: nlms FORCE
 # in this makefile
 #
 
-include $(AP_WORK)\build\NWGNUtail.inc
+include $(APBUILD)/NWGNUtail.inc
 
 
index f8fdfc68d08aa0491b5c0134c3d1bdf542de4897..6e1dafc1fa963d356418b173dd79ad20ffdaf453 100644 (file)
@@ -8,7 +8,7 @@
 #
 
 ifndef EnvironmentDefined
-include $(AP_WORK)\build\NWGNUhead.inc
+include $(AP_WORK)/build/NWGNUhead.inc
 endif
 
 #
@@ -108,7 +108,7 @@ NLM_THREAD_NAME     = UserDir Module
 
 #
 # If this is specified, it will override VERSION value in 
-# $(AP_WORK)\build\NWGNUenvironment.inc
+# $(AP_WORK)/build/NWGNUenvironment.inc
 #
 NLM_VERSION    =
 
@@ -121,12 +121,12 @@ NLM_STACK_SIZE    = 8192
 #
 # If this is specified it will be used by the link '-entry' directive
 #
-NLM_ENTRY_SYM  = _LibCPrelude
+NLM_ENTRY_SYM  =
 
 #
 # If this is specified it will be used by the link '-exit' directive
 #
-NLM_EXIT_SYM   = _LibCPostlude
+NLM_EXIT_SYM   =
 
 #
 # If this is specified it will be used by the link '-check' directive
@@ -136,7 +136,7 @@ NLM_CHECK_SYM       =
 #
 # If these are specified it will be used by the link '-flags' directive
 #
-NLM_FLAGS      = AUTOUNLOAD, PSEUDOPREEMPTION
+NLM_FLAGS      =
 
 #
 # If this is specified it will be linked in with the XDCData option in the def 
@@ -171,7 +171,7 @@ FILES_nlm_objs = \
 # These will be added as a library command in the link.opt file.
 #
 FILES_nlm_libs = \
-       libcpre.o \
+       $(PRELUDE) \
        $(EOLIST)
 
 #
@@ -202,8 +202,8 @@ FILE_nlm_copyright =
 # Any additional imports go here
 #
 FILES_nlm_Ximports = \
-       @$(APR)/aprlib.imp \
-       @$(NWOS)/httpd.imp \
+       @aprlib.imp \
+       @httpd.imp \
        @libc.imp \
        $(EOLIST)
  
@@ -231,7 +231,7 @@ nlms :: libs $(TARGET_nlm)
 
 #
 # Updated this target to create necessary directories and copy files to the 
-# correct place.  (See $(AP_WORK)\build\NWGNUhead.inc for examples)
+# correct place.  (See $(AP_WORK)/build/NWGNUhead.inc for examples)
 #
 install :: nlms FORCE
 
@@ -244,6 +244,6 @@ install :: nlms FORCE
 # in this makefile
 #
 
-include $(AP_WORK)\build\NWGNUtail.inc
+include $(APBUILD)/NWGNUtail.inc
 
 
index 54f2bc068fc65e35e9f6717109c626f1cc2d93bb..9a1dc2901f93ae51b85759bf24168063b1e12cea 100644 (file)
@@ -8,7 +8,7 @@
 #
 
 ifndef EnvironmentDefined
-include $(AP_WORK)\build\NWGNUhead.inc
+include $(AP_WORK)/build/NWGNUhead.inc
 endif
 
 #
@@ -107,7 +107,7 @@ NLM_THREAD_NAME     = Vhost Alias Module
 
 #
 # If this is specified, it will override VERSION value in 
-# $(AP_WORK)\build\NWGNUenvironment.inc
+# $(AP_WORK)/build/NWGNUenvironment.inc
 #
 NLM_VERSION    =
 
@@ -120,12 +120,12 @@ NLM_STACK_SIZE    = 8192
 #
 # If this is specified it will be used by the link '-entry' directive
 #
-NLM_ENTRY_SYM  = _LibCPrelude
+NLM_ENTRY_SYM  =
 
 #
 # If this is specified it will be used by the link '-exit' directive
 #
-NLM_EXIT_SYM   = _LibCPostlude
+NLM_EXIT_SYM   =
 
 #
 # If this is specified it will be used by the link '-check' directive
@@ -135,7 +135,7 @@ NLM_CHECK_SYM       =
 #
 # If these are specified it will be used by the link '-flags' directive
 #
-NLM_FLAGS      = AUTOUNLOAD, PSEUDOPREEMPTION
+NLM_FLAGS      =
 
 #
 # If this is specified it will be linked in with the XDCData option in the def 
@@ -170,7 +170,7 @@ FILES_nlm_objs = \
 # These will be added as a library command in the link.opt file.
 #
 FILES_nlm_libs = \
-       libcpre.o \
+       $(PRELUDE) \
        $(EOLIST)
 
 #
@@ -201,8 +201,8 @@ FILE_nlm_copyright =
 # Any additional imports go here
 #
 FILES_nlm_Ximports = \
-       @$(APR)/aprlib.imp \
-       @$(NWOS)/httpd.imp \
+       @aprlib.imp \
+       @httpd.imp \
        @libc.imp \
        $(EOLIST)
  
@@ -230,7 +230,7 @@ nlms :: libs $(TARGET_nlm)
 
 #
 # Updated this target to create necessary directories and copy files to the 
-# correct place.  (See $(AP_WORK)\build\NWGNUhead.inc for examples)
+# correct place.  (See $(AP_WORK)/build/NWGNUhead.inc for examples)
 #
 install :: nlms FORCE
 
@@ -243,6 +243,6 @@ install :: nlms FORCE
 # in this makefile
 #
 
-include $(AP_WORK)\build\NWGNUtail.inc
+include $(APBUILD)/NWGNUtail.inc
 
 
index dc529fd474a03d41f745c4918c58f03723485dff..d3e2a81f1c0996da93e338265f95bf80218c5653 100644 (file)
@@ -8,7 +8,7 @@
 #
 
 ifndef EnvironmentDefined
-include $(AP_WORK)\build\NWGNUhead.inc
+include $(AP_WORK)/build/NWGNUhead.inc
 endif
 
 #
@@ -107,7 +107,7 @@ NLM_THREAD_NAME     = CERN Meta Module
 
 #
 # If this is specified, it will override VERSION value in 
-# $(AP_WORK)\build\NWGNUenvironment.inc
+# $(AP_WORK)/build/NWGNUenvironment.inc
 #
 NLM_VERSION    =
 
@@ -120,12 +120,12 @@ NLM_STACK_SIZE    = 8192
 #
 # If this is specified it will be used by the link '-entry' directive
 #
-NLM_ENTRY_SYM  = _LibCPrelude
+NLM_ENTRY_SYM  =
 
 #
 # If this is specified it will be used by the link '-exit' directive
 #
-NLM_EXIT_SYM   = _LibCPostlude
+NLM_EXIT_SYM   =
 
 #
 # If this is specified it will be used by the link '-check' directive
@@ -135,7 +135,7 @@ NLM_CHECK_SYM       =
 #
 # If these are specified it will be used by the link '-flags' directive
 #
-NLM_FLAGS      = AUTOUNLOAD, PSEUDOPREEMPTION
+NLM_FLAGS      =
 
 #
 # If this is specified it will be linked in with the XDCData option in the def 
@@ -170,7 +170,7 @@ FILES_nlm_objs = \
 # These will be added as a library command in the link.opt file.
 #
 FILES_nlm_libs = \
-       libcpre.o \
+       $(PRELUDE) \
        $(EOLIST)
 
 #
@@ -201,8 +201,8 @@ FILE_nlm_copyright =
 # Any additional imports go here
 #
 FILES_nlm_Ximports = \
-       @$(APR)/aprlib.imp \
-       @$(NWOS)/httpd.imp \
+       @aprlib.imp \
+       @httpd.imp \
        @libc.imp \
        $(EOLIST)
  
@@ -230,7 +230,7 @@ nlms :: libs $(TARGET_nlm)
 
 #
 # Updated this target to create necessary directories and copy files to the 
-# correct place.  (See $(AP_WORK)\build\NWGNUhead.inc for examples)
+# correct place.  (See $(AP_WORK)/build/NWGNUhead.inc for examples)
 #
 install :: nlms FORCE
 
@@ -243,6 +243,6 @@ install :: nlms FORCE
 # in this makefile
 #
 
-include $(AP_WORK)\build\NWGNUtail.inc
+include $(APBUILD)/NWGNUtail.inc
 
 
index c3229d2b200a6f838c212cea8d1caebe9fbf0501..a2b523b0b30d46034522a9d38667c83480086409 100644 (file)
@@ -8,7 +8,7 @@
 #
 
 ifndef EnvironmentDefined
-include $(AP_WORK)\build\NWGNUhead.inc
+include $(AP_WORK)/build/NWGNUhead.inc
 endif
 
 #
@@ -107,7 +107,7 @@ NLM_THREAD_NAME     = Expires Module
 
 #
 # If this is specified, it will override VERSION value in 
-# $(AP_WORK)\build\NWGNUenvironment.inc
+# $(AP_WORK)/build/NWGNUenvironment.inc
 #
 NLM_VERSION    =
 
@@ -120,12 +120,12 @@ NLM_STACK_SIZE    = 8192
 #
 # If this is specified it will be used by the link '-entry' directive
 #
-NLM_ENTRY_SYM  = _LibCPrelude
+NLM_ENTRY_SYM  =
 
 #
 # If this is specified it will be used by the link '-exit' directive
 #
-NLM_EXIT_SYM   = _LibCPostlude
+NLM_EXIT_SYM   =
 
 #
 # If this is specified it will be used by the link '-check' directive
@@ -135,7 +135,7 @@ NLM_CHECK_SYM       =
 #
 # If these are specified it will be used by the link '-flags' directive
 #
-NLM_FLAGS      = AUTOUNLOAD, PSEUDOPREEMPTION
+NLM_FLAGS      =
 
 #
 # If this is specified it will be linked in with the XDCData option in the def 
@@ -170,7 +170,7 @@ FILES_nlm_objs = \
 # These will be added as a library command in the link.opt file.
 #
 FILES_nlm_libs = \
-       libcpre.o \
+       $(PRELUDE) \
        $(EOLIST)
 
 #
@@ -201,8 +201,8 @@ FILE_nlm_copyright =
 # Any additional imports go here
 #
 FILES_nlm_Ximports = \
-       @$(APR)/aprlib.imp \
-       @$(NWOS)/httpd.imp \
+       @aprlib.imp \
+       @httpd.imp \
        @libc.imp \
        $(EOLIST)
  
@@ -230,7 +230,7 @@ nlms :: libs $(TARGET_nlm)
 
 #
 # Updated this target to create necessary directories and copy files to the 
-# correct place.  (See $(AP_WORK)\build\NWGNUhead.inc for examples)
+# correct place.  (See $(AP_WORK)/build/NWGNUhead.inc for examples)
 #
 install :: nlms FORCE
 
@@ -243,6 +243,6 @@ install :: nlms FORCE
 # in this makefile
 #
 
-include $(AP_WORK)\build\NWGNUtail.inc
+include $(APBUILD)/NWGNUtail.inc
 
 
index 10155967147a65239cb9ccd878907b6fec875800..aa08b36ddde58269e1793f3bcdfed3a575d92911 100644 (file)
@@ -8,7 +8,7 @@
 #
 
 ifndef EnvironmentDefined
-include $(AP_WORK)\build\NWGNUhead.inc
+include $(AP_WORK)/build/NWGNUhead.inc
 endif
 
 #
@@ -108,7 +108,7 @@ NLM_THREAD_NAME     = Headers Module
 
 #
 # If this is specified, it will override VERSION value in 
-# $(AP_WORK)\build\NWGNUenvironment.inc
+# $(AP_WORK)/build/NWGNUenvironment.inc
 #
 NLM_VERSION    =
 
@@ -121,12 +121,12 @@ NLM_STACK_SIZE    = 8192
 #
 # If this is specified it will be used by the link '-entry' directive
 #
-NLM_ENTRY_SYM  = _LibCPrelude
+NLM_ENTRY_SYM  =
 
 #
 # If this is specified it will be used by the link '-exit' directive
 #
-NLM_EXIT_SYM   = _LibCPostlude
+NLM_EXIT_SYM   =
 
 #
 # If this is specified it will be used by the link '-check' directive
@@ -136,7 +136,7 @@ NLM_CHECK_SYM       =
 #
 # If these are specified it will be used by the link '-flags' directive
 #
-NLM_FLAGS      = AUTOUNLOAD, PSEUDOPREEMPTION
+NLM_FLAGS      =
 
 #
 # If this is specified it will be linked in with the XDCData option in the def 
@@ -171,7 +171,7 @@ FILES_nlm_objs = \
 # These will be added as a library command in the link.opt file.
 #
 FILES_nlm_libs = \
-       libcpre.o \
+       $(PRELUDE) \
        $(EOLIST)
 
 #
@@ -202,8 +202,8 @@ FILE_nlm_copyright =
 # Any additional imports go here
 #
 FILES_nlm_Ximports = \
-       @$(APR)/aprlib.imp \
-       @$(NWOS)/httpd.imp \
+       @aprlib.imp \
+       @httpd.imp \
        @libc.imp \
        $(EOLIST)
  
@@ -231,7 +231,7 @@ nlms :: libs $(TARGET_nlm)
 
 #
 # Updated this target to create necessary directories and copy files to the 
-# correct place.  (See $(AP_WORK)\build\NWGNUhead.inc for examples)
+# correct place.  (See $(AP_WORK)/build/NWGNUhead.inc for examples)
 #
 install :: nlms FORCE
 
@@ -244,6 +244,6 @@ install :: nlms FORCE
 # in this makefile
 #
 
-include $(AP_WORK)\build\NWGNUtail.inc
+include $(APBUILD)/NWGNUtail.inc
 
 
index b9361aecf7775c4dce400cbe31e9d92ac575e2a2..af837a03b1466c8d4a333b0ed30287b814c11dbe 100644 (file)
@@ -10,7 +10,7 @@ SUBDIRS = \
 # paths to tools
 #
 
-include $(AP_WORK)\build\NWGNUhead.inc
+include $(AP_WORK)/build/NWGNUhead.inc
 
 #
 # build this level's files
@@ -112,7 +112,7 @@ NLM_THREAD_NAME     =
 
 #
 # If this is specified, it will override VERSION value in 
-# $(AP_WORK)\build\NWGNUenvironment.inc
+# $(AP_WORK)/build/NWGNUenvironment.inc
 #
 NLM_VERSION    =
 
@@ -234,10 +234,10 @@ nlms :: libs $(TARGET_nlm)
 
 #
 # Updated this target to create necessary directories and copy files to the 
-# correct place.  (See $(AP_WORK)\build\NWGNUhead.inc for examples)
+# correct place.  (See $(AP_WORK)/build/NWGNUhead.inc for examples)
 #
 install :: nlms FORCE
-       copy $(OBJDIR)\*.nlm $(INSTALL)\$(BASEDIR)\modules\*.*
+       $(call COPY,$(OBJDIR)/*.nlm, $(INSTALLBASE)/modules/)
 
 #
 # Any specialized rules here
@@ -248,6 +248,6 @@ install :: nlms FORCE
 # in this makefile
 #
 
-include $(AP_WORK)\build\NWGNUtail.inc
+include $(APBUILD)/NWGNUtail.inc
 
 
index 04d92dfe7fb0ff58c98df6737afb952a98be5462..25d42e3b9089b4b4dcd2a18a59722491fd0b7d36 100644 (file)
@@ -8,7 +8,7 @@
 #
 
 ifndef EnvironmentDefined
-include $(AP_WORK)\build\NWGNUhead.inc
+include $(AP_WORK)/build/NWGNUhead.inc
 endif
 
 #
@@ -107,7 +107,7 @@ NLM_THREAD_NAME     = minemagic Module
 
 #
 # If this is specified, it will override VERSION value in 
-# $(AP_WORK)\build\NWGNUenvironment.inc
+# $(AP_WORK)/build/NWGNUenvironment.inc
 #
 NLM_VERSION    =
 
@@ -120,12 +120,12 @@ NLM_STACK_SIZE    = 8192
 #
 # If this is specified it will be used by the link '-entry' directive
 #
-NLM_ENTRY_SYM  = _LibCPrelude
+NLM_ENTRY_SYM  =
 
 #
 # If this is specified it will be used by the link '-exit' directive
 #
-NLM_EXIT_SYM   = _LibCPostlude
+NLM_EXIT_SYM   =
 
 #
 # If this is specified it will be used by the link '-check' directive
@@ -135,7 +135,7 @@ NLM_CHECK_SYM       =
 #
 # If these are specified it will be used by the link '-flags' directive
 #
-NLM_FLAGS      = AUTOUNLOAD, PSEUDOPREEMPTION
+NLM_FLAGS      =
 
 #
 # If this is specified it will be linked in with the XDCData option in the def 
@@ -170,7 +170,7 @@ FILES_nlm_objs = \
 # These will be added as a library command in the link.opt file.
 #
 FILES_nlm_libs = \
-       libcpre.o \
+       $(PRELUDE) \
        $(EOLIST)
 
 #
@@ -201,8 +201,8 @@ FILE_nlm_copyright =
 # Any additional imports go here
 #
 FILES_nlm_Ximports = \
-       @$(APR)/aprlib.imp \
-       @$(NWOS)/httpd.imp \
+       @aprlib.imp \
+       @httpd.imp \
        @libc.imp \
        $(EOLIST)
  
@@ -230,7 +230,7 @@ nlms :: libs $(TARGET_nlm)
 
 #
 # Updated this target to create necessary directories and copy files to the 
-# correct place.  (See $(AP_WORK)\build\NWGNUhead.inc for examples)
+# correct place.  (See $(AP_WORK)/build/NWGNUhead.inc for examples)
 #
 install :: nlms FORCE
 
@@ -243,6 +243,6 @@ install :: nlms FORCE
 # in this makefile
 #
 
-include $(AP_WORK)\build\NWGNUtail.inc
+include $(APBUILD)/NWGNUtail.inc
 
 
index 42313e74058477cd82ef84a418b4eb769006ecf0..98d8b368955f1f83b01028578479570e78d236b1 100644 (file)
@@ -8,7 +8,7 @@
 #
 
 ifndef EnvironmentDefined
-include $(AP_WORK)\build\NWGNUhead.inc
+include $(AP_WORK)/build/NWGNUhead.inc
 endif
 
 #
@@ -107,7 +107,7 @@ NLM_THREAD_NAME     = Mod_Ident Module
 
 #
 # If this is specified, it will override VERSION value in 
-# $(AP_WORK)\build\NWGNUenvironment.inc
+# $(AP_WORK)/build/NWGNUenvironment.inc
 #
 NLM_VERSION    =
 
@@ -120,12 +120,12 @@ NLM_STACK_SIZE    = 8192
 #
 # If this is specified it will be used by the link '-entry' directive
 #
-NLM_ENTRY_SYM  = _LibCPrelude
+NLM_ENTRY_SYM  =
 
 #
 # If this is specified it will be used by the link '-exit' directive
 #
-NLM_EXIT_SYM   = _LibCPostlude
+NLM_EXIT_SYM   =
 
 #
 # If this is specified it will be used by the link '-check' directive
@@ -135,7 +135,7 @@ NLM_CHECK_SYM       =
 #
 # If these are specified it will be used by the link '-flags' directive
 #
-NLM_FLAGS      = AUTOUNLOAD, PSEUDOPREEMPTION
+NLM_FLAGS      =
 
 #
 # If this is specified it will be linked in with the XDCData option in the def 
@@ -170,7 +170,7 @@ FILES_nlm_objs = \
 # These will be added as a library command in the link.opt file.
 #
 FILES_nlm_libs = \
-       libcpre.o \
+       $(PRELUDE) \
        $(EOLIST)
 
 #
@@ -201,8 +201,8 @@ FILE_nlm_copyright =
 # Any additional imports go here
 #
 FILES_nlm_Ximports = \
-       @$(APR)/aprlib.imp \
-       @$(NWOS)/httpd.imp \
+       @aprlib.imp \
+       @httpd.imp \
        @libc.imp \
        $(EOLIST)
  
@@ -230,7 +230,7 @@ nlms :: libs $(TARGET_nlm)
 
 #
 # Updated this target to create necessary directories and copy files to the 
-# correct place.  (See $(AP_WORK)\build\NWGNUhead.inc for examples)
+# correct place.  (See $(AP_WORK)/build/NWGNUhead.inc for examples)
 #
 install :: nlms FORCE
 
@@ -243,6 +243,6 @@ install :: nlms FORCE
 # in this makefile
 #
 
-include $(AP_WORK)\build\NWGNUtail.inc
+include $(APBUILD)/NWGNUtail.inc
 
 
index e2a4adfe20400e7d34fa313e622b24c7648b5b64..02eab267ecbc8e0f7fce21dca1cd3007aaf561fc 100644 (file)
@@ -8,7 +8,7 @@
 #
 
 ifndef EnvironmentDefined
-include $(AP_WORK)\build\NWGNUhead.inc
+include $(AP_WORK)/build/NWGNUhead.inc
 endif
 
 #
@@ -107,7 +107,7 @@ NLM_THREAD_NAME     = Version Module
 
 #
 # If this is specified, it will override VERSION value in 
-# $(AP_WORK)\build\NWGNUenvironment.inc
+# $(AP_WORK)/build/NWGNUenvironment.inc
 #
 NLM_VERSION    =
 
@@ -120,12 +120,12 @@ NLM_STACK_SIZE    = 8192
 #
 # If this is specified it will be used by the link '-entry' directive
 #
-NLM_ENTRY_SYM  = _LibCPrelude
+NLM_ENTRY_SYM  =
 
 #
 # If this is specified it will be used by the link '-exit' directive
 #
-NLM_EXIT_SYM   = _LibCPostlude
+NLM_EXIT_SYM   =
 
 #
 # If this is specified it will be used by the link '-check' directive
@@ -135,7 +135,7 @@ NLM_CHECK_SYM       =
 #
 # If these are specified it will be used by the link '-flags' directive
 #
-NLM_FLAGS      = AUTOUNLOAD, PSEUDOPREEMPTION
+NLM_FLAGS      =
 
 #
 # If this is specified it will be linked in with the XDCData option in the def 
@@ -170,7 +170,7 @@ FILES_nlm_objs = \
 # These will be added as a library command in the link.opt file.
 #
 FILES_nlm_libs = \
-       libcpre.o \
+       $(PRELUDE) \
        $(EOLIST)
 
 #
@@ -201,8 +201,8 @@ FILE_nlm_copyright =
 # Any additional imports go here
 #
 FILES_nlm_Ximports = \
-       @$(APR)/aprlib.imp \
-       @$(NWOS)/httpd.imp \
+       @aprlib.imp \
+       @httpd.imp \
        @libc.imp \
        $(EOLIST)
  
@@ -230,7 +230,7 @@ nlms :: libs $(TARGET_nlm)
 
 #
 # Updated this target to create necessary directories and copy files to the 
-# correct place.  (See $(AP_WORK)\build\NWGNUhead.inc for examples)
+# correct place.  (See $(AP_WORK)/build/NWGNUhead.inc for examples)
 #
 install :: nlms FORCE
 
@@ -243,6 +243,6 @@ install :: nlms FORCE
 # in this makefile
 #
 
-include $(AP_WORK)\build\NWGNUtail.inc
+include $(APBUILD)/NWGNUtail.inc
 
 
index 2c31a903f6cde7c753fb894f35fdcab9acfd156c..290b89035071f3cddf0edc4a2160d1efeac828fc 100644 (file)
@@ -8,7 +8,7 @@
 #
 
 ifndef EnvironmentDefined
-include $(AP_WORK)\build\NWGNUhead.inc
+include $(AP_WORK)/build/NWGNUhead.inc
 endif
 
 #
@@ -107,7 +107,7 @@ NLM_THREAD_NAME     = Unique ID Module
 
 #
 # If this is specified, it will override VERSION value in 
-# $(AP_WORK)\build\NWGNUenvironment.inc
+# $(AP_WORK)/build/NWGNUenvironment.inc
 #
 NLM_VERSION    =
 
@@ -120,12 +120,12 @@ NLM_STACK_SIZE    = 8192
 #
 # If this is specified it will be used by the link '-entry' directive
 #
-NLM_ENTRY_SYM  = _LibCPrelude
+NLM_ENTRY_SYM  =
 
 #
 # If this is specified it will be used by the link '-exit' directive
 #
-NLM_EXIT_SYM   = _LibCPostlude
+NLM_EXIT_SYM   =
 
 #
 # If this is specified it will be used by the link '-check' directive
@@ -135,7 +135,7 @@ NLM_CHECK_SYM       =
 #
 # If these are specified it will be used by the link '-flags' directive
 #
-NLM_FLAGS      = AUTOUNLOAD, PSEUDOPREEMPTION
+NLM_FLAGS      =
 
 #
 # If this is specified it will be linked in with the XDCData option in the def 
@@ -171,7 +171,7 @@ FILES_nlm_objs = \
 # These will be added as a library command in the link.opt file.
 #
 FILES_nlm_libs = \
-       libcpre.o \
+       $(PRELUDE) \
        $(EOLIST)
 
 #
@@ -202,8 +202,8 @@ FILE_nlm_copyright =
 # Any additional imports go here
 #
 FILES_nlm_Ximports = \
-       @$(APR)/aprlib.imp \
-       @$(NWOS)/httpd.imp \
+       @aprlib.imp \
+       @httpd.imp \
        @libc.imp \
        $(EOLIST)
  
@@ -237,7 +237,7 @@ nlms :: libs $(TARGET_nlm)
 
 #
 # Updated this target to create necessary directories and copy files to the 
-# correct place.  (See $(AP_WORK)\build\NWGNUhead.inc for examples)
+# correct place.  (See $(AP_WORK)/build/NWGNUhead.inc for examples)
 #
 install :: nlms FORCE
 
@@ -252,6 +252,6 @@ vpath %.c ../arch/netware
 # in this makefile
 #
 
-include $(AP_WORK)\build\NWGNUtail.inc
+include $(APBUILD)/NWGNUtail.inc
 
 
index 083d0b69634a6fe99ecc2571fb05d9eec54fe3ae..d9452dd0d41a8fea99eb1d06cee0c6770c76bfc4 100644 (file)
@@ -8,7 +8,7 @@
 #
 
 ifndef EnvironmentDefined
-include $(AP_WORK)\build\NWGNUhead.inc
+include $(AP_WORK)/build/NWGNUhead.inc
 endif
 
 #
@@ -107,7 +107,7 @@ NLM_THREAD_NAME     = User Track Module
 
 #
 # If this is specified, it will override VERSION value in 
-# $(AP_WORK)\build\NWGNUenvironment.inc
+# $(AP_WORK)/build/NWGNUenvironment.inc
 #
 NLM_VERSION    =
 
@@ -120,12 +120,12 @@ NLM_STACK_SIZE    = 8192
 #
 # If this is specified it will be used by the link '-entry' directive
 #
-NLM_ENTRY_SYM  = _LibCPrelude
+NLM_ENTRY_SYM  =
 
 #
 # If this is specified it will be used by the link '-exit' directive
 #
-NLM_EXIT_SYM   = _LibCPostlude
+NLM_EXIT_SYM   =
 
 #
 # If this is specified it will be used by the link '-check' directive
@@ -135,7 +135,7 @@ NLM_CHECK_SYM       =
 #
 # If these are specified it will be used by the link '-flags' directive
 #
-NLM_FLAGS      = AUTOUNLOAD, PSEUDOPREEMPTION
+NLM_FLAGS      =
 
 #
 # If this is specified it will be linked in with the XDCData option in the def 
@@ -170,7 +170,7 @@ FILES_nlm_objs = \
 # These will be added as a library command in the link.opt file.
 #
 FILES_nlm_libs = \
-       libcpre.o \
+       $(PRELUDE) \
        $(EOLIST)
 
 #
@@ -201,8 +201,8 @@ FILE_nlm_copyright =
 # Any additional imports go here
 #
 FILES_nlm_Ximports = \
-       @$(APR)/aprlib.imp \
-       @$(NWOS)/httpd.imp \
+       @aprlib.imp \
+       @httpd.imp \
        @libc.imp \
        $(EOLIST)
  
@@ -230,7 +230,7 @@ nlms :: libs $(TARGET_nlm)
 
 #
 # Updated this target to create necessary directories and copy files to the 
-# correct place.  (See $(AP_WORK)\build\NWGNUhead.inc for examples)
+# correct place.  (See $(AP_WORK)/build/NWGNUhead.inc for examples)
 #
 install :: nlms FORCE
 
@@ -243,6 +243,6 @@ install :: nlms FORCE
 # in this makefile
 #
 
-include $(AP_WORK)\build\NWGNUtail.inc
+include $(APBUILD)/NWGNUtail.inc
 
 
index 311282e21f015bd440ce34aae71062e0d8033039..3408ad0db3988ea910338f1863fd08c9ec60d843 100644 (file)
@@ -10,7 +10,7 @@ SUBDIRS = \
 # paths to tools
 #
 
-include $(AP_WORK)\build\NWGNUhead.inc
+include $(AP_WORK)/build/NWGNUhead.inc
 
 #
 # build this level's files
@@ -111,7 +111,7 @@ NLM_THREAD_NAME     =
 
 #
 # If this is specified, it will override VERSION value in 
-# $(AP_WORK)\build\NWGNUenvironment.inc
+# $(AP_WORK)/build/NWGNUenvironment.inc
 #
 NLM_VERSION    =
 
@@ -232,10 +232,10 @@ nlms :: libs $(TARGET_nlm)
 
 #
 # Updated this target to create necessary directories and copy files to the 
-# correct place.  (See $(AP_WORK)\build\NWGNUhead.inc for examples)
+# correct place.  (See $(AP_WORK)/build/NWGNUhead.inc for examples)
 #
 install :: nlms FORCE
-       copy $(OBJDIR)\*.nlm $(INSTALL)\$(BASEDIR)\modules\*.*
+       $(call COPY,$(OBJDIR)/*.nlm, $(INSTALLBASE)/modules/)
 
 #
 # Any specialized rules here
@@ -246,6 +246,6 @@ install :: nlms FORCE
 # in this makefile
 #
 
-include $(AP_WORK)\build\NWGNUtail.inc
+include $(APBUILD)/NWGNUtail.inc
 
 
index 98d792751bf9eab22bb6d62f374ea99e1ed48d77..669baaf008aa6edfaec4c594224806dc34d29188 100644 (file)
@@ -8,7 +8,7 @@
 #
 
 ifndef EnvironmentDefined
-include $(AP_WORK)\build\NWGNUhead.inc
+include $(AP_WORK)/build/NWGNUhead.inc
 endif
 
 #
@@ -110,7 +110,7 @@ NLM_THREAD_NAME     = Proxy Module
 
 #
 # If this is specified, it will override VERSION value in 
-# $(AP_WORK)\build\NWGNUenvironment.inc
+# $(AP_WORK)/build/NWGNUenvironment.inc
 #
 NLM_VERSION    =
 
@@ -123,12 +123,12 @@ NLM_STACK_SIZE    = 8192
 #
 # If this is specified it will be used by the link '-entry' directive
 #
-NLM_ENTRY_SYM  = _LibCPrelude
+NLM_ENTRY_SYM  =
 
 #
 # If this is specified it will be used by the link '-exit' directive
 #
-NLM_EXIT_SYM   = _LibCPostlude
+NLM_EXIT_SYM   =
 
 #
 # If this is specified it will be used by the link '-check' directive
@@ -138,7 +138,7 @@ NLM_CHECK_SYM       =
 #
 # If these are specified it will be used by the link '-flags' directive
 #
-NLM_FLAGS      = AUTOUNLOAD, PSEUDOPREEMPTION
+NLM_FLAGS      =
 
 #
 # If this is specified it will be linked in with the XDCData option in the def 
@@ -175,7 +175,7 @@ FILES_nlm_objs = \
 # These will be added as a library command in the link.opt file.
 #
 FILES_nlm_libs = \
-       libcpre.o \
+       $(PRELUDE) \
        $(EOLIST)
 
 #
@@ -206,8 +206,8 @@ FILE_nlm_copyright =
 # Any additional imports go here
 #
 FILES_nlm_Ximports = \
-       @$(APR)/aprlib.imp \
-       @$(NWOS)/httpd.imp \
+       @aprlib.imp \
+       @httpd.imp \
        @libc.imp \
        $(EOLIST)
  
@@ -241,7 +241,7 @@ nlms :: libs $(OBJDIR)/mod_proxy.imp $(TARGET_nlm)
 
 #
 # Updated this target to create necessary directories and copy files to the 
-# correct place.  (See $(AP_WORK)\build\NWGNUhead.inc for examples)
+# correct place.  (See $(AP_WORK)/build/NWGNUhead.inc for examples)
 #
 install :: nlms FORCE
 
@@ -270,6 +270,6 @@ $(OBJDIR)/mod_proxy.imp:
 # in this makefile
 #
 
-include $(AP_WORK)\build\NWGNUtail.inc
+include $(APBUILD)/NWGNUtail.inc
 
 
index 74a7cbfbe4ed73551d9271eee21be0542b3fe96e..0ee5f86615ea43ba97b9b00785b0f089bbbc5e79 100644 (file)
@@ -8,7 +8,7 @@
 #
 
 ifndef EnvironmentDefined
-include $(AP_WORK)\build\NWGNUhead.inc
+include $(AP_WORK)/build/NWGNUhead.inc
 endif
 
 #
@@ -108,7 +108,7 @@ NLM_THREAD_NAME     = Proxy AJP Module
 
 #
 # If this is specified, it will override VERSION value in 
-# $(AP_WORK)\build\NWGNUenvironment.inc
+# $(AP_WORK)/build/NWGNUenvironment.inc
 #
 NLM_VERSION    =
 
@@ -121,12 +121,12 @@ NLM_STACK_SIZE    = 8192
 #
 # If this is specified it will be used by the link '-entry' directive
 #
-NLM_ENTRY_SYM  = _LibCPrelude
+NLM_ENTRY_SYM  =
 
 #
 # If this is specified it will be used by the link '-exit' directive
 #
-NLM_EXIT_SYM   = _LibCPostlude
+NLM_EXIT_SYM   =
 
 #
 # If this is specified it will be used by the link '-check' directive
@@ -136,7 +136,7 @@ NLM_CHECK_SYM       =
 #
 # If these are specified it will be used by the link '-flags' directive
 #
-NLM_FLAGS      = AUTOUNLOAD, PSEUDOPREEMPTION
+NLM_FLAGS      =
 
 #
 # If this is specified it will be linked in with the XDCData option in the def 
@@ -177,7 +177,7 @@ FILES_nlm_objs = \
 # These will be added as a library command in the link.opt file.
 #
 FILES_nlm_libs = \
-       libcpre.o \
+       $(PRELUDE) \
        $(EOLIST)
 
 #
@@ -209,8 +209,8 @@ FILE_nlm_copyright =
 # Any additional imports go here
 #
 FILES_nlm_Ximports = \
-       @$(APR)/aprlib.imp \
-       @$(NWOS)/httpd.imp \
+       @aprlib.imp \
+       @httpd.imp \
        @$(OBJDIR)/mod_proxy.imp \
        @libc.imp \
        $(EOLIST)
@@ -245,7 +245,7 @@ nlms :: libs $(TARGET_nlm)
 
 #
 # Updated this target to create necessary directories and copy files to the 
-# correct place.  (See $(AP_WORK)\build\NWGNUhead.inc for examples)
+# correct place.  (See $(AP_WORK)/build/NWGNUhead.inc for examples)
 #
 install :: nlms FORCE
 
@@ -260,6 +260,6 @@ vpath %.c ../arch/netware
 # in this makefile
 #
 
-include $(AP_WORK)\build\NWGNUtail.inc
+include $(APBUILD)/NWGNUtail.inc
 
 
index 147fc07a217b08c374fd8c62226938234995ee13..287722fd3429f0fe28a51f2c50d9d35f77d74544 100644 (file)
@@ -8,7 +8,7 @@
 #
 
 ifndef EnvironmentDefined
-include $(AP_WORK)\build\NWGNUhead.inc
+include $(AP_WORK)/build/NWGNUhead.inc
 endif
 
 #
@@ -108,7 +108,7 @@ NLM_THREAD_NAME     = Prxy Blncr Module
 
 #
 # If this is specified, it will override VERSION value in 
-# $(AP_WORK)\build\NWGNUenvironment.inc
+# $(AP_WORK)/build/NWGNUenvironment.inc
 #
 NLM_VERSION    =
 
@@ -121,12 +121,12 @@ NLM_STACK_SIZE    = 8192
 #
 # If this is specified it will be used by the link '-entry' directive
 #
-NLM_ENTRY_SYM  = _LibCPrelude
+NLM_ENTRY_SYM  =
 
 #
 # If this is specified it will be used by the link '-exit' directive
 #
-NLM_EXIT_SYM   = _LibCPostlude
+NLM_EXIT_SYM   =
 
 #
 # If this is specified it will be used by the link '-check' directive
@@ -136,7 +136,7 @@ NLM_CHECK_SYM       =
 #
 # If these are specified it will be used by the link '-flags' directive
 #
-NLM_FLAGS      = AUTOUNLOAD, PSEUDOPREEMPTION
+NLM_FLAGS      =
 
 #
 # If this is specified it will be linked in with the XDCData option in the def 
@@ -173,7 +173,7 @@ FILES_nlm_objs = \
 # These will be added as a library command in the link.opt file.
 #
 FILES_nlm_libs = \
-       libcpre.o \
+       $(PRELUDE) \
        $(EOLIST)
 
 #
@@ -205,8 +205,8 @@ FILE_nlm_copyright =
 # Any additional imports go here
 #
 FILES_nlm_Ximports = \
-       @$(APR)/aprlib.imp \
-       @$(NWOS)/httpd.imp \
+       @aprlib.imp \
+       @httpd.imp \
        @$(OBJDIR)/mod_proxy.imp \
        @libc.imp \
        $(EOLIST)
@@ -241,7 +241,7 @@ nlms :: libs $(TARGET_nlm)
 
 #
 # Updated this target to create necessary directories and copy files to the 
-# correct place.  (See $(AP_WORK)\build\NWGNUhead.inc for examples)
+# correct place.  (See $(AP_WORK)/build/NWGNUhead.inc for examples)
 #
 install :: nlms FORCE
 
@@ -256,6 +256,6 @@ vpath %.c ../arch/netware
 # in this makefile
 #
 
-include $(AP_WORK)\build\NWGNUtail.inc
+include $(APBUILD)/NWGNUtail.inc
 
 
index 84353496e00c41ce3ff61501603dd7f0496b570a..4d011bea1444eba9a4b739ac7b61681341056094 100644 (file)
@@ -8,7 +8,7 @@
 #
 
 ifndef EnvironmentDefined
-include $(AP_WORK)\build\NWGNUhead.inc
+include $(AP_WORK)/build/NWGNUhead.inc
 endif
 
 #
@@ -108,7 +108,7 @@ NLM_THREAD_NAME     = Proxy Conn Module
 
 #
 # If this is specified, it will override VERSION value in 
-# $(AP_WORK)\build\NWGNUenvironment.inc
+# $(AP_WORK)/build/NWGNUenvironment.inc
 #
 NLM_VERSION    =
 
@@ -121,12 +121,12 @@ NLM_STACK_SIZE    = 8192
 #
 # If this is specified it will be used by the link '-entry' directive
 #
-NLM_ENTRY_SYM  = _LibCPrelude
+NLM_ENTRY_SYM  =
 
 #
 # If this is specified it will be used by the link '-exit' directive
 #
-NLM_EXIT_SYM   = _LibCPostlude
+NLM_EXIT_SYM   =
 
 #
 # If this is specified it will be used by the link '-check' directive
@@ -136,7 +136,7 @@ NLM_CHECK_SYM       =
 #
 # If these are specified it will be used by the link '-flags' directive
 #
-NLM_FLAGS      = AUTOUNLOAD, PSEUDOPREEMPTION
+NLM_FLAGS      =
 
 #
 # If this is specified it will be linked in with the XDCData option in the def 
@@ -172,7 +172,7 @@ FILES_nlm_objs = \
 # These will be added as a library command in the link.opt file.
 #
 FILES_nlm_libs = \
-       libcpre.o \
+       $(PRELUDE) \
        $(EOLIST)
 
 #
@@ -204,8 +204,8 @@ FILE_nlm_copyright =
 # Any additional imports go here
 #
 FILES_nlm_Ximports = \
-       @$(APR)/aprlib.imp \
-       @$(NWOS)/httpd.imp \
+       @aprlib.imp \
+       @httpd.imp \
        @$(OBJDIR)/mod_proxy.imp \
        @libc.imp \
        $(EOLIST)
@@ -234,7 +234,7 @@ nlms :: libs $(TARGET_nlm)
 
 #
 # Updated this target to create necessary directories and copy files to the 
-# correct place.  (See $(AP_WORK)\build\NWGNUhead.inc for examples)
+# correct place.  (See $(AP_WORK)/build/NWGNUhead.inc for examples)
 #
 install :: nlms FORCE
 
@@ -247,6 +247,6 @@ install :: nlms FORCE
 # in this makefile
 #
 
-include $(AP_WORK)\build\NWGNUtail.inc
+include $(APBUILD)/NWGNUtail.inc
 
 
index 4add9b0ac4d1896afc9aa0e837bb451fa8fe24d4..bd8677c3c33a40395d9f5e5412ac36519d4be8a9 100644 (file)
@@ -8,7 +8,7 @@
 #
 
 ifndef EnvironmentDefined
-include $(AP_WORK)\build\NWGNUhead.inc
+include $(AP_WORK)/build/NWGNUhead.inc
 endif
 
 #
@@ -108,7 +108,7 @@ NLM_THREAD_NAME     = Proxy FTP Module
 
 #
 # If this is specified, it will override VERSION value in 
-# $(AP_WORK)\build\NWGNUenvironment.inc
+# $(AP_WORK)/build/NWGNUenvironment.inc
 #
 NLM_VERSION    =
 
@@ -121,12 +121,12 @@ NLM_STACK_SIZE    = 8192
 #
 # If this is specified it will be used by the link '-entry' directive
 #
-NLM_ENTRY_SYM  = _LibCPrelude
+NLM_ENTRY_SYM  =
 
 #
 # If this is specified it will be used by the link '-exit' directive
 #
-NLM_EXIT_SYM   = _LibCPostlude
+NLM_EXIT_SYM   =
 
 #
 # If this is specified it will be used by the link '-check' directive
@@ -136,7 +136,7 @@ NLM_CHECK_SYM       =
 #
 # If these are specified it will be used by the link '-flags' directive
 #
-NLM_FLAGS      = AUTOUNLOAD, PSEUDOPREEMPTION
+NLM_FLAGS      =
 
 #
 # If this is specified it will be linked in with the XDCData option in the def 
@@ -173,7 +173,7 @@ FILES_nlm_objs = \
 # These will be added as a library command in the link.opt file.
 #
 FILES_nlm_libs = \
-       libcpre.o \
+       $(PRELUDE) \
        $(EOLIST)
 
 #
@@ -205,8 +205,8 @@ FILE_nlm_copyright =
 # Any additional imports go here
 #
 FILES_nlm_Ximports = \
-       @$(APR)/aprlib.imp \
-       @$(NWOS)/httpd.imp \
+       @aprlib.imp \
+       @httpd.imp \
        @$(OBJDIR)/mod_proxy.imp \
        @libc.imp \
        $(EOLIST)
@@ -241,7 +241,7 @@ nlms :: libs $(TARGET_nlm)
 
 #
 # Updated this target to create necessary directories and copy files to the 
-# correct place.  (See $(AP_WORK)\build\NWGNUhead.inc for examples)
+# correct place.  (See $(AP_WORK)/build/NWGNUhead.inc for examples)
 #
 install :: nlms FORCE
 
@@ -256,6 +256,6 @@ vpath %.c ../arch/netware
 # in this makefile
 #
 
-include $(AP_WORK)\build\NWGNUtail.inc
+include $(APBUILD)/NWGNUtail.inc
 
 
index 94b3865497b4979c08bfcc4b012a0f90bdf2572f..0bfebfe96d92c13976e573011ca52e65c95b2620 100644 (file)
@@ -8,7 +8,7 @@
 #
 
 ifndef EnvironmentDefined
-include $(AP_WORK)\build\NWGNUhead.inc
+include $(AP_WORK)/build/NWGNUhead.inc
 endif
 
 #
@@ -108,7 +108,7 @@ NLM_THREAD_NAME     = Proxy HTTP Module
 
 #
 # If this is specified, it will override VERSION value in 
-# $(AP_WORK)\build\NWGNUenvironment.inc
+# $(AP_WORK)/build/NWGNUenvironment.inc
 #
 NLM_VERSION    =
 
@@ -121,12 +121,12 @@ NLM_STACK_SIZE    = 8192
 #
 # If this is specified it will be used by the link '-entry' directive
 #
-NLM_ENTRY_SYM  = _LibCPrelude
+NLM_ENTRY_SYM  =
 
 #
 # If this is specified it will be used by the link '-exit' directive
 #
-NLM_EXIT_SYM   = _LibCPostlude
+NLM_EXIT_SYM   =
 
 #
 # If this is specified it will be used by the link '-check' directive
@@ -136,7 +136,7 @@ NLM_CHECK_SYM       =
 #
 # If these are specified it will be used by the link '-flags' directive
 #
-NLM_FLAGS      = AUTOUNLOAD, PSEUDOPREEMPTION
+NLM_FLAGS      =
 
 #
 # If this is specified it will be linked in with the XDCData option in the def 
@@ -173,7 +173,7 @@ FILES_nlm_objs = \
 # These will be added as a library command in the link.opt file.
 #
 FILES_nlm_libs = \
-       libcpre.o \
+       $(PRELUDE) \
        $(EOLIST)
 
 #
@@ -205,8 +205,8 @@ FILE_nlm_copyright =
 # Any additional imports go here
 #
 FILES_nlm_Ximports = \
-       @$(APR)/aprlib.imp \
-       @$(NWOS)/httpd.imp \
+       @aprlib.imp \
+       @httpd.imp \
        @$(OBJDIR)/mod_proxy.imp \
        @libc.imp \
        $(EOLIST)
@@ -241,7 +241,7 @@ nlms :: libs $(TARGET_nlm)
 
 #
 # Updated this target to create necessary directories and copy files to the 
-# correct place.  (See $(AP_WORK)\build\NWGNUhead.inc for examples)
+# correct place.  (See $(AP_WORK)/build/NWGNUhead.inc for examples)
 #
 install :: nlms FORCE
 
@@ -256,6 +256,6 @@ vpath %.c ../arch/netware
 # in this makefile
 #
 
-include $(AP_WORK)\build\NWGNUtail.inc
+include $(APBUILD)/NWGNUtail.inc
 
 
index 34f306ff23fc8940d8c367e1ae2dec265c4b5f76..cbfc2765e67ffd8a63723a7440ef8ad29e90b7c3 100644 (file)
@@ -8,7 +8,7 @@
 #
 
 ifndef EnvironmentDefined
-include $(AP_WORK)\build\NWGNUhead.inc
+include $(AP_WORK)/build/NWGNUhead.inc
 endif
 
 #
@@ -108,7 +108,7 @@ NLM_THREAD_NAME     = Proxy SCGI Module
 
 #
 # If this is specified, it will override VERSION value in 
-# $(AP_WORK)\build\NWGNUenvironment.inc
+# $(AP_WORK)/build/NWGNUenvironment.inc
 #
 NLM_VERSION    =
 
@@ -121,12 +121,12 @@ NLM_STACK_SIZE    = 8192
 #
 # If this is specified it will be used by the link '-entry' directive
 #
-NLM_ENTRY_SYM  = _LibCPrelude
+NLM_ENTRY_SYM  =
 
 #
 # If this is specified it will be used by the link '-exit' directive
 #
-NLM_EXIT_SYM   = _LibCPostlude
+NLM_EXIT_SYM   =
 
 #
 # If this is specified it will be used by the link '-check' directive
@@ -136,7 +136,7 @@ NLM_CHECK_SYM       =
 #
 # If these are specified it will be used by the link '-flags' directive
 #
-NLM_FLAGS      = AUTOUNLOAD, PSEUDOPREEMPTION
+NLM_FLAGS      =
 
 #
 # If this is specified it will be linked in with the XDCData option in the def 
@@ -173,7 +173,7 @@ FILES_nlm_objs = \
 # These will be added as a library command in the link.opt file.
 #
 FILES_nlm_libs = \
-       libcpre.o \
+       $(PRELUDE) \
        $(EOLIST)
 
 #
@@ -205,8 +205,8 @@ FILE_nlm_copyright =
 # Any additional imports go here
 #
 FILES_nlm_Ximports = \
-       @$(APR)/aprlib.imp \
-       @$(NWOS)/httpd.imp \
+       @aprlib.imp \
+       @httpd.imp \
        @$(OBJDIR)/mod_proxy.imp \
        @libc.imp \
        $(EOLIST)
@@ -241,7 +241,7 @@ nlms :: libs $(TARGET_nlm)
 
 #
 # Updated this target to create necessary directories and copy files to the 
-# correct place.  (See $(AP_WORK)\build\NWGNUhead.inc for examples)
+# correct place.  (See $(AP_WORK)/build/NWGNUhead.inc for examples)
 #
 install :: nlms FORCE
 
@@ -256,6 +256,6 @@ vpath %.c ../arch/netware
 # in this makefile
 #
 
-include $(AP_WORK)\build\NWGNUtail.inc
+include $(APBUILD)/NWGNUtail.inc
 
 
index 7a8821957a6402011ede787288f5c24ddebffca1..f674b0df1dae02c10c55187b4a3ce7317a80f6f2 100644 (file)
@@ -15,7 +15,7 @@ SUBDIRS = \
 # paths to tools
 #
 
-include $(AP_WORK)\build\NWGNUhead.inc
+include $(AP_WORK)/build/NWGNUhead.inc
 
 #
 # build this level's files
@@ -129,7 +129,7 @@ NLM_THREAD_NAME     = $(NLM_NAME)
 
 #
 # If this is specified, it will override VERSION value in 
-# $(AP_WORK)\build\NWGNUenvironment.inc
+# $(AP_WORK)/build/NWGNUenvironment.inc
 #
 NLM_VERSION    = 
 
@@ -142,12 +142,12 @@ NLM_STACK_SIZE    = 8192
 #
 # If this is specified it will be used by the link '-entry' directive
 #
-NLM_ENTRY_SYM  = _LibCPrelude
+NLM_ENTRY_SYM  =
 
 #
 # If this is specified it will be used by the link '-exit' directive
 #
-NLM_EXIT_SYM   = _LibCPostlude
+NLM_EXIT_SYM   =
 
 #
 # If this is specified it will be used by the link '-check' directive
@@ -157,7 +157,7 @@ NLM_CHECK_SYM       =
 #
 # If this is specified it will be used by the link '-flags' directive
 #
-NLM_FLAGS      = AUTOUNLOAD, PSEUDOPREEMPTION
+NLM_FLAGS      =
  
 #
 # If this is specified it will be linked in with the XDCData option in the def 
@@ -195,7 +195,7 @@ FILES_nlm_objs := $(patsubst %.c,$(OBJDIR)/%.o,$(wildcard *.c))
 # These will be added as a library command in the link.opt file.
 #
 FILES_nlm_libs = \
-       libcpre.o \
+       $(PRELUDE) \
        $(OSSLLIB)/crypto.lib \
        $(OSSLLIB)/ssl.lib \
        $(EOLIST)
@@ -229,7 +229,7 @@ FILE_nlm_copyright =
 #
 FILES_nlm_Ximports = \
        @libc.imp \
-       @$(APR)/aprlib.imp \
+       @aprlib.imp \
        @httpd.imp \
        GetProcessSwitchCount \
        RunningProcess \
@@ -266,7 +266,7 @@ nlms :: libs $(TARGET_nlm)
 
 #
 # Updated this target to create necessary directories and copy files to the 
-# correct place.  (See $(AP_WORK)\build\NWGNUhead.inc for examples)
+# correct place.  (See $(AP_WORK)/build/NWGNUhead.inc for examples)
 #
 install :: nlms FORCE
        copy $(OBJDIR)\mod_ssl.nlm $(INSTALL)\$(BASEDIR)\modules\*.*
@@ -293,6 +293,6 @@ ssl_expr_scan.c : ssl_expr_scan.l
 # in this makefile
 #
 
-include $(AP_WORK)\build\NWGNUtail.inc
+include $(APBUILD)/NWGNUtail.inc
 
 
index 512adfdc8e6eb789e1b3f32303bd707a3dd75da3..16ce9734e53e2e05ac9414357b2d105791524ce2 100644 (file)
@@ -11,7 +11,7 @@ SUBDIRS = \
 # paths to tools
 #
 
-include $(AP_WORK)\build\NWGNUhead.inc
+include $(AP_WORK)/build/NWGNUhead.inc
 
 #
 # build this level's files
@@ -112,7 +112,7 @@ NLM_THREAD_NAME     = genchars
 
 #
 # If this is specified, it will override VERSION value in 
-# $(AP_WORK)\build\NWGNUenvironment.inc
+# $(AP_WORK)/build/NWGNUenvironment.inc
 #
 NLM_VERSION    =
 
@@ -124,12 +124,12 @@ NLM_STACK_SIZE    = 8192
 #
 # If this is specified it will be used by the link '-entry' directive
 #
-NLM_ENTRY_SYM  =_LibCPrelude 
+NLM_ENTRY_SYM  =
 
 #
 # If this is specified it will be used by the link '-exit' directive
 #
-NLM_EXIT_SYM   =_LibCPostlude 
+NLM_EXIT_SYM   =
 
 #
 # If this is specified it will be used by the link '-check' directive
@@ -178,7 +178,7 @@ FILES_nlm_objs = \
 # These will be added as a library command in the link.opt file.
 #
 FILES_nlm_libs = \
-       libcpre.o \
+       $(PRELUDE) \
        $(EOLIST)
 
 #
@@ -247,5 +247,5 @@ install :: nlms FORCE
 # in this makefile
 #
 
-include $(AP_WORK)\build\NWGNUtail.inc
+include $(APBUILD)/NWGNUtail.inc
                           
index dbf54437cd0c1d7316311ba0749f103127c6f2d7..e744a744476947b7e94a53d65d35886bcb3ea4d9 100644 (file)
@@ -137,12 +137,12 @@ NLM_STACK_SIZE    = 8192
 #
 # If this is specified it will be used by the link '-entry' directive
 #
-NLM_ENTRY_SYM  =_LibCPrelude 
+NLM_ENTRY_SYM  =
 
 #
 # If this is specified it will be used by the link '-exit' directive
 #
-NLM_EXIT_SYM   =_LibCPostlude 
+NLM_EXIT_SYM   =
 
 #
 # If this is specified it will be used by the link '-check' directive
@@ -192,7 +192,7 @@ FILES_nlm_objs = \
 # These will be added as a library command in the link.opt file.
 #
 FILES_nlm_libs = \
-       libcpre.o \
+       $(PRELUDE) \
        $(EOLIST)
 
 #
index 8d7b0370e22140a8958129c2a0aff3e8b63589fb..ee2e0e808df2b0128411438c32d328dea222d47e 100644 (file)
@@ -8,7 +8,7 @@
 #
 
 ifndef EnvironmentDefined
-include $(AP_WORK)\build\NWGNUhead.inc
+include $(AP_WORK)/build/NWGNUhead.inc
 endif
 
 #
@@ -116,7 +116,7 @@ NLM_SCREEN_NAME = DEFAULT
 
 #
 # If this is specified, it will override VERSION value in
-# $(AP_WORK)\build\NWGNUenvironment.inc
+# $(AP_WORK)/build/NWGNUenvironment.inc
 #
 NLM_VERSION    =
 
@@ -129,12 +129,12 @@ NLM_STACK_SIZE    = 8192
 #
 # If this is specified it will be used by the link '-entry' directive
 #
-NLM_ENTRY_SYM  = _LibCPrelude
+NLM_ENTRY_SYM  =
 
 #
 # If this is specified it will be used by the link '-exit' directive
 #
-NLM_EXIT_SYM   = _LibCPostlude
+NLM_EXIT_SYM   =
 
 #
 # If this is specified it will be used by the link '-check' directive
@@ -144,7 +144,7 @@ NLM_CHECK_SYM       =
 #
 # If these are specified it will be used by the link '-flags' directive
 #
-NLM_FLAGS      = AUTOUNLOAD, PSEUDOPREEMPTION
+NLM_FLAGS      =
 
 #
 # If this is specified it will be linked in with the XDCData option in the def
@@ -179,7 +179,7 @@ FILES_nlm_objs = \
 # These will be added as a library command in the link.opt file.
 #
 FILES_nlm_libs = \
-       libcpre.o \
+       $(PRELUDE) \
        $(EOLIST)
 
 #
@@ -210,7 +210,7 @@ FILE_nlm_copyright =
 # Any additional imports go here
 #
 FILES_nlm_Ximports = \
-       @$(APR)/aprlib.imp \
+       @aprlib.imp \
        @libc.imp \
        $(EOLIST)
 
@@ -237,7 +237,7 @@ nlms :: libs $(TARGET_nlm)
 
 #
 # Updated this target to create necessary directories and copy files to the
-# correct place.  (See $(AP_WORK)\build\NWGNUhead.inc for examples)
+# correct place.  (See $(AP_WORK)/build/NWGNUhead.inc for examples)
 #
 install :: nlms FORCE
 
@@ -250,6 +250,6 @@ install :: nlms FORCE
 # in this makefile
 #
 
-include $(AP_WORK)\build\NWGNUtail.inc
+include $(APBUILD)/NWGNUtail.inc
 
 
index df66bf4b671f8483c4f14e0a63b88d828789c26c..99199161829cbf2783deda340f85b9344cbfc4fa 100644 (file)
@@ -8,7 +8,7 @@
 #
 
 ifndef EnvironmentDefined
-include $(AP_WORK)\build\NWGNUhead.inc
+include $(AP_WORK)/build/NWGNUhead.inc
 endif
 
 #
@@ -114,7 +114,7 @@ NLM_SCREEN_NAME = DEFAULT
 
 #
 # If this is specified, it will override VERSION value in 
-# $(AP_WORK)\build\NWGNUenvironment.inc
+# $(AP_WORK)/build/NWGNUenvironment.inc
 #
 NLM_VERSION    =
 
@@ -127,12 +127,12 @@ NLM_STACK_SIZE    = 8192
 #
 # If this is specified it will be used by the link '-entry' directive
 #
-NLM_ENTRY_SYM  = _LibCPrelude
+NLM_ENTRY_SYM  =
 
 #
 # If this is specified it will be used by the link '-exit' directive
 #
-NLM_EXIT_SYM   = _LibCPostlude
+NLM_EXIT_SYM   =
 
 #
 # If this is specified it will be used by the link '-check' directive
@@ -142,7 +142,7 @@ NLM_CHECK_SYM       =
 #
 # If these are specified it will be used by the link '-flags' directive
 #
-NLM_FLAGS      = AUTOUNLOAD, PSEUDOPREEMPTION
+NLM_FLAGS      =
 
 #
 # If this is specified it will be linked in with the XDCData option in the def 
@@ -177,7 +177,7 @@ FILES_nlm_objs = \
 # These will be added as a library command in the link.opt file.
 #
 FILES_nlm_libs = \
-       libcpre.o \
+       $(PRELUDE) \
        $(EOLIST)
 
 #
@@ -208,7 +208,7 @@ FILE_nlm_copyright =
 # Any additional imports go here
 #
 FILES_nlm_Ximports = \
-       @$(APR)/aprlib.imp \
+       @aprlib.imp \
        @libc.imp \
        $(EOLIST)
  
@@ -235,7 +235,7 @@ nlms :: libs $(TARGET_nlm)
 
 #
 # Updated this target to create necessary directories and copy files to the 
-# correct place.  (See $(AP_WORK)\build\NWGNUhead.inc for examples)
+# correct place.  (See $(AP_WORK)/build/NWGNUhead.inc for examples)
 #
 install :: nlms FORCE
 
@@ -248,6 +248,6 @@ install :: nlms FORCE
 # in this makefile
 #
 
-include $(AP_WORK)\build\NWGNUtail.inc
+include $(APBUILD)/NWGNUtail.inc
 
 
index 062693f9243c510cae91b67cb24683015cd9be05..f448cc3c58d89e03816516f56a4bf2acc035f114 100644 (file)
@@ -8,7 +8,7 @@
 #
 
 ifndef EnvironmentDefined
-include $(AP_WORK)\build\NWGNUhead.inc
+include $(AP_WORK)/build/NWGNUhead.inc
 endif
 
 #
@@ -114,7 +114,7 @@ NLM_SCREEN_NAME = htdbm Password Management
 
 #
 # If this is specified, it will override VERSION value in
-# $(AP_WORK)\build\NWGNUenvironment.inc
+# $(AP_WORK)/build/NWGNUenvironment.inc
 #
 NLM_VERSION    =
 
@@ -127,12 +127,12 @@ NLM_STACK_SIZE    = 8192
 #
 # If this is specified it will be used by the link '-entry' directive
 #
-NLM_ENTRY_SYM  = _LibCPrelude
+NLM_ENTRY_SYM  =
 
 #
 # If this is specified it will be used by the link '-exit' directive
 #
-NLM_EXIT_SYM   = _LibCPostlude
+NLM_EXIT_SYM   =
 
 #
 # If this is specified it will be used by the link '-check' directive
@@ -142,7 +142,7 @@ NLM_CHECK_SYM       =
 #
 # If these are specified it will be used by the link '-flags' directive
 #
-NLM_FLAGS      = AUTOUNLOAD, PSEUDOPREEMPTION
+NLM_FLAGS      =
 
 #
 # If this is specified it will be linked in with the XDCData option in the def
@@ -177,7 +177,7 @@ FILES_nlm_objs = \
 # These will be added as a library command in the link.opt file.
 #
 FILES_nlm_libs = \
-       libcpre.o \
+       $(PRELUDE) \
        $(EOLIST)
 
 #
@@ -208,7 +208,7 @@ FILE_nlm_copyright =
 # Any additional imports go here
 #
 FILES_nlm_Ximports = \
-       @$(APR)/aprlib.imp \
+       @aprlib.imp \
        @libc.imp \
        $(EOLIST)
 
@@ -235,7 +235,7 @@ nlms :: libs $(TARGET_nlm)
 
 #
 # Updated this target to create necessary directories and copy files to the
-# correct place.  (See $(AP_WORK)\build\NWGNUhead.inc for examples)
+# correct place.  (See $(AP_WORK)/build/NWGNUhead.inc for examples)
 #
 install :: nlms FORCE
 
@@ -248,6 +248,6 @@ install :: nlms FORCE
 # in this makefile
 #
 
-include $(AP_WORK)\build\NWGNUtail.inc
+include $(APBUILD)/NWGNUtail.inc
 
 
index 538e67937ad2b29336be5a53c056fea89195eb53..5674d21dfe1d437fcb0fd8a62945a51f9f6352fb 100644 (file)
@@ -8,7 +8,7 @@
 #
 
 ifndef EnvironmentDefined
-include $(AP_WORK)\build\NWGNUhead.inc
+include $(AP_WORK)/build/NWGNUhead.inc
 endif
 
 #
@@ -114,7 +114,7 @@ NLM_SCREEN_NAME = Digest Password Management
 
 #
 # If this is specified, it will override VERSION value in 
-# $(AP_WORK)\build\NWGNUenvironment.inc
+# $(AP_WORK)/build/NWGNUenvironment.inc
 #
 NLM_VERSION    =
 
@@ -127,12 +127,12 @@ NLM_STACK_SIZE    = 8192
 #
 # If this is specified it will be used by the link '-entry' directive
 #
-NLM_ENTRY_SYM  = _LibCPrelude
+NLM_ENTRY_SYM  =
 
 #
 # If this is specified it will be used by the link '-exit' directive
 #
-NLM_EXIT_SYM   = _LibCPostlude
+NLM_EXIT_SYM   =
 
 #
 # If this is specified it will be used by the link '-check' directive
@@ -142,7 +142,7 @@ NLM_CHECK_SYM       =
 #
 # If these are specified it will be used by the link '-flags' directive
 #
-NLM_FLAGS      = AUTOUNLOAD, PSEUDOPREEMPTION
+NLM_FLAGS      =
 
 #
 # If this is specified it will be linked in with the XDCData option in the def 
@@ -177,7 +177,7 @@ FILES_nlm_objs = \
 # These will be added as a library command in the link.opt file.
 #
 FILES_nlm_libs = \
-       libcpre.o \
+       $(PRELUDE) \
        $(EOLIST)
 
 #
@@ -208,7 +208,7 @@ FILE_nlm_copyright =
 # Any additional imports go here
 #
 FILES_nlm_Ximports = \
-       @$(APR)/aprlib.imp \
+       @aprlib.imp \
        @libc.imp \
        $(EOLIST)
  
@@ -235,7 +235,7 @@ nlms :: libs $(TARGET_nlm)
 
 #
 # Updated this target to create necessary directories and copy files to the 
-# correct place.  (See $(AP_WORK)\build\NWGNUhead.inc for examples)
+# correct place.  (See $(AP_WORK)/build/NWGNUhead.inc for examples)
 #
 install :: nlms FORCE
 
@@ -248,6 +248,6 @@ install :: nlms FORCE
 # in this makefile
 #
 
-include $(AP_WORK)\build\NWGNUtail.inc
+include $(APBUILD)/NWGNUtail.inc
 
 
index d87adc3adaed12fc24eba7f7362bd7ec44927d84..990cd8e849248499e1ea296ab13c9e1b04031d90 100644 (file)
@@ -8,7 +8,7 @@
 #
 
 ifndef EnvironmentDefined
-include $(AP_WORK)\build\NWGNUhead.inc
+include $(AP_WORK)/build/NWGNUhead.inc
 endif
 
 #
@@ -114,7 +114,7 @@ NLM_SCREEN_NAME = htpasswd Password Management
 
 #
 # If this is specified, it will override VERSION value in 
-# $(AP_WORK)\build\NWGNUenvironment.inc
+# $(AP_WORK)/build/NWGNUenvironment.inc
 #
 NLM_VERSION    =
 
@@ -127,12 +127,12 @@ NLM_STACK_SIZE    = 8192
 #
 # If this is specified it will be used by the link '-entry' directive
 #
-NLM_ENTRY_SYM  = _LibCPrelude
+NLM_ENTRY_SYM  =
 
 #
 # If this is specified it will be used by the link '-exit' directive
 #
-NLM_EXIT_SYM   = _LibCPostlude
+NLM_EXIT_SYM   =
 
 #
 # If this is specified it will be used by the link '-check' directive
@@ -142,7 +142,7 @@ NLM_CHECK_SYM       =
 #
 # If these are specified it will be used by the link '-flags' directive
 #
-NLM_FLAGS      = AUTOUNLOAD, PSEUDOPREEMPTION
+NLM_FLAGS      =
 
 #
 # If this is specified it will be linked in with the XDCData option in the def 
@@ -177,7 +177,7 @@ FILES_nlm_objs = \
 # These will be added as a library command in the link.opt file.
 #
 FILES_nlm_libs = \
-       libcpre.o \
+       $(PRELUDE) \
        $(EOLIST)
 
 #
@@ -208,7 +208,7 @@ FILE_nlm_copyright =
 # Any additional imports go here
 #
 FILES_nlm_Ximports = \
-       @$(APR)/aprlib.imp \
+       @aprlib.imp \
        @libc.imp \
        $(EOLIST)
  
@@ -235,7 +235,7 @@ nlms :: libs $(TARGET_nlm)
 
 #
 # Updated this target to create necessary directories and copy files to the 
-# correct place.  (See $(AP_WORK)\build\NWGNUhead.inc for examples)
+# correct place.  (See $(AP_WORK)/build/NWGNUhead.inc for examples)
 #
 install :: nlms FORCE
 
@@ -248,6 +248,6 @@ install :: nlms FORCE
 # in this makefile
 #
 
-include $(AP_WORK)\build\NWGNUtail.inc
+include $(APBUILD)/NWGNUtail.inc
 
 
index 97bccf97b8f9b0ba35b7f30bcd30abbcf86d8739..fc1d6232aa651594711effe7d3cd11a507fde1d1 100644 (file)
@@ -8,7 +8,7 @@
 #
 
 ifndef EnvironmentDefined
-include $(AP_WORK)\build\NWGNUhead.inc
+include $(AP_WORK)/build/NWGNUhead.inc
 endif
 
 #
@@ -114,7 +114,7 @@ NLM_SCREEN_NAME = httxt2dbm Conversion Utility
 
 #
 # If this is specified, it will override VERSION value in
-# $(AP_WORK)\build\NWGNUenvironment.inc
+# $(AP_WORK)/build/NWGNUenvironment.inc
 #
 NLM_VERSION    =
 
@@ -127,12 +127,12 @@ NLM_STACK_SIZE    = 8192
 #
 # If this is specified it will be used by the link '-entry' directive
 #
-NLM_ENTRY_SYM  = _LibCPrelude
+NLM_ENTRY_SYM  =
 
 #
 # If this is specified it will be used by the link '-exit' directive
 #
-NLM_EXIT_SYM   = _LibCPostlude
+NLM_EXIT_SYM   =
 
 #
 # If this is specified it will be used by the link '-check' directive
@@ -142,7 +142,7 @@ NLM_CHECK_SYM       =
 #
 # If these are specified it will be used by the link '-flags' directive
 #
-NLM_FLAGS      = AUTOUNLOAD, PSEUDOPREEMPTION
+NLM_FLAGS      =
 
 #
 # If this is specified it will be linked in with the XDCData option in the def
@@ -177,7 +177,7 @@ FILES_nlm_objs = \
 # These will be added as a library command in the link.opt file.
 #
 FILES_nlm_libs = \
-       libcpre.o \
+       $(PRELUDE) \
        $(EOLIST)
 
 #
@@ -208,7 +208,7 @@ FILE_nlm_copyright =
 # Any additional imports go here
 #
 FILES_nlm_Ximports = \
-       @$(APR)/aprlib.imp \
+       @aprlib.imp \
        @libc.imp \
        $(EOLIST)
 
@@ -235,7 +235,7 @@ nlms :: libs $(TARGET_nlm)
 
 #
 # Updated this target to create necessary directories and copy files to the
-# correct place.  (See $(AP_WORK)\build\NWGNUhead.inc for examples)
+# correct place.  (See $(AP_WORK)/build/NWGNUhead.inc for examples)
 #
 install :: nlms FORCE
 
@@ -248,6 +248,6 @@ install :: nlms FORCE
 # in this makefile
 #
 
-include $(AP_WORK)\build\NWGNUtail.inc
+include $(APBUILD)/NWGNUtail.inc
 
 
index c2ad592943d3677dea31bd92eac773375015e807..8597862a69417650431ce41e7a1dfdf7ec6d535c 100644 (file)
@@ -8,7 +8,7 @@
 #
 
 ifndef EnvironmentDefined
-include $(AP_WORK)\build\NWGNUhead.inc
+include $(AP_WORK)/build/NWGNUhead.inc
 endif
 
 #
@@ -115,7 +115,7 @@ NLM_SCREEN_NAME = Log Resolve
 
 #
 # If this is specified, it will override VERSION value in
-# $(AP_WORK)\build\NWGNUenvironment.inc
+# $(AP_WORK)/build/NWGNUenvironment.inc
 #
 NLM_VERSION    =
 
@@ -128,12 +128,12 @@ NLM_STACK_SIZE    = 65536
 #
 # If this is specified it will be used by the link '-entry' directive
 #
-NLM_ENTRY_SYM  = _LibCPrelude
+NLM_ENTRY_SYM  =
 
 #
 # If this is specified it will be used by the link '-exit' directive
 #
-NLM_EXIT_SYM   = _LibCPostlude
+NLM_EXIT_SYM   =
 
 #
 # If this is specified it will be used by the link '-check' directive
@@ -143,7 +143,7 @@ NLM_CHECK_SYM       =
 #
 # If these are specified it will be used by the link '-flags' directive
 #
-NLM_FLAGS      = AUTOUNLOAD, PSEUDOPREEMPTION
+NLM_FLAGS      =
 
 #
 # If this is specified it will be linked in with the XDCData option in the def
@@ -178,7 +178,7 @@ FILES_nlm_objs = \
 # These will be added as a library command in the link.opt file.
 #
 FILES_nlm_libs = \
-       libcpre.o \
+       $(PRELUDE) \
        $(EOLIST)
 
 #
@@ -209,7 +209,7 @@ FILE_nlm_copyright =
 # Any additional imports go here
 #
 FILES_nlm_Ximports = \
-       @$(APR)/aprlib.imp \
+       @aprlib.imp \
        @libc.imp \
        $(EOLIST)
 
@@ -242,7 +242,7 @@ nlms :: libs $(TARGET_nlm)
 
 #
 # Updated this target to create necessary directories and copy files to the
-# correct place.  (See $(AP_WORK)\build\NWGNUhead.inc for examples)
+# correct place.  (See $(AP_WORK)/build/NWGNUhead.inc for examples)
 #
 install :: nlms FORCE
 
@@ -255,6 +255,6 @@ install :: nlms FORCE
 # in this makefile
 #
 
-include $(AP_WORK)\build\NWGNUtail.inc
+include $(APBUILD)/NWGNUtail.inc
 
 
index 8116cbf033d0afb7ca91bc82360774e3d44bc23b..8c9d3d036e0afc7c02ee753d5a96fdd9693ddc0d 100644 (file)
@@ -10,7 +10,7 @@ SUBDIRS = \
 # paths to tools
 #
 
-include $(AP_WORK)\build\NWGNUhead.inc
+include $(AP_WORK)/build/NWGNUhead.inc
 
 #
 # build this level's files
@@ -110,7 +110,7 @@ NLM_THREAD_NAME     =
 
 #
 # If this is specified, it will override VERSION value in 
-# $(AP_WORK)\build\NWGNUenvironment.inc
+# $(AP_WORK)/build/NWGNUenvironment.inc
 #
 NLM_VERSION    =
 
@@ -232,7 +232,7 @@ nlms :: libs $(TARGET_nlm)
 
 #
 # Updated this target to create necessary directories and copy files to the 
-# correct place.  (See $(AP_WORK)\build\NWGNUhead.inc for examples)
+# correct place.  (See $(AP_WORK)/build/NWGNUhead.inc for examples)
 #
 install :: nlms FORCE
        copy $(OBJDIR)\*.nlm $(INSTALL)\$(BASEDIR)\bin\*.*
@@ -246,6 +246,6 @@ install :: nlms FORCE
 # in this makefile
 #
 
-include $(AP_WORK)\build\NWGNUtail.inc
+include $(APBUILD)/NWGNUtail.inc
 
 
index a74c28712807ff23e2e4e019d10e60f5d8d92e29..37f3bd8624e46933407ee78c593346348a6c3081 100644 (file)
@@ -8,7 +8,7 @@
 #
 
 ifndef EnvironmentDefined
-include $(AP_WORK)\build\NWGNUhead.inc
+include $(AP_WORK)/build/NWGNUhead.inc
 endif
 
 #
@@ -113,7 +113,7 @@ NLM_SCREEN_NAME     = DEFAULT
 
 #
 # If this is specified, it will override VERSION value in 
-# $(AP_WORK)\build\NWGNUenvironment.inc
+# $(AP_WORK)/build/NWGNUenvironment.inc
 #
 NLM_VERSION    =
 
@@ -126,12 +126,12 @@ NLM_STACK_SIZE    = 98304
 #
 # If this is specified it will be used by the link '-entry' directive
 #
-NLM_ENTRY_SYM  = _LibCPrelude
+NLM_ENTRY_SYM  =
 
 #
 # If this is specified it will be used by the link '-exit' directive
 #
-NLM_EXIT_SYM   = _LibCPostlude
+NLM_EXIT_SYM   =
 
 #
 # If this is specified it will be used by the link '-check' directive
@@ -176,7 +176,7 @@ FILES_nlm_objs = \
 # These will be added as a library command in the link.opt file.
 #
 FILES_nlm_libs = \
-       libcpre.o \
+       $(PRELUDE) \
        $(EOLIST)
 
 #
@@ -207,7 +207,7 @@ FILE_nlm_copyright =
 # Any additional imports go here
 #
 FILES_nlm_Ximports = \
-       @$(APR)/aprlib.imp \
+       @aprlib.imp \
        @libc.imp \
        $(EOLIST)
  
@@ -234,7 +234,7 @@ nlms :: libs $(TARGET_nlm)
 
 #
 # Updated this target to create necessary directories and copy files to the 
-# correct place.  (See $(AP_WORK)\build\NWGNUhead.inc for examples)
+# correct place.  (See $(AP_WORK)/build/NWGNUhead.inc for examples)
 #
 install :: nlms FORCE
 
@@ -247,6 +247,6 @@ install :: nlms FORCE
 # in this makefile
 #
 
-include $(AP_WORK)\build\NWGNUtail.inc
+include $(APBUILD)/NWGNUtail.inc