summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuenter Knauf <fuankg@apache.org>2009-06-28 23:15:11 +0000
committerGuenter Knauf <fuankg@apache.org>2009-06-28 23:15:11 +0000
commit4143a101691464831d0d467f1fb01105b8c6d1a2 (patch)
tree3d82f7730190666a85a8f71a44b1a6f6c38f8b1e
parent04552e1dc10a7c89a4053ecebabf6d75d39fa624 (diff)
downloadapr-4143a101691464831d0d467f1fb01105b8c6d1a2.tar.gz
more NetWare build tweaks.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@789172 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--NWGNUmakefile22
-rw-r--r--build/NWGNUenvironment.inc4
-rw-r--r--build/NWGNUmakefile10
-rw-r--r--dbd/NWGNUdbdfreetds2
-rw-r--r--dbd/NWGNUdbdmysql2
-rw-r--r--dbd/NWGNUdbdpgsql2
-rw-r--r--dbd/NWGNUdbdsqli22
-rw-r--r--dbd/NWGNUdbdsqli36
-rw-r--r--dbd/NWGNUmakefile6
-rw-r--r--dbm/NWGNUdbmdb8
-rw-r--r--dbm/NWGNUdbmgdbm8
-rw-r--r--dbm/NWGNUmakefile8
-rw-r--r--ldap/NWGNUmakefile2
-rw-r--r--test/NWGNUaprtest12
-rw-r--r--test/NWGNUmakefile2
-rw-r--r--test/NWGNUproc_child2
-rw-r--r--test/NWGNUreadchild23
-rw-r--r--test/NWGNUsockchild23
-rw-r--r--test/NWGNUtestatmc22
-rw-r--r--test/NWGNUtryread23
20 files changed, 90 insertions, 99 deletions
diff --git a/NWGNUmakefile b/NWGNUmakefile
index c8012b170..3045e3049 100644
--- a/NWGNUmakefile
+++ b/NWGNUmakefile
@@ -174,7 +174,7 @@ XDCDATA =
# If there is an NLM target, put it here
#
TARGET_nlm = \
- $(OBJDIR)/aprlib.nlm \
+ $(OBJDIR)/$(NLM_NAME).nlm \
$(EOLIST)
#
@@ -397,21 +397,21 @@ nlms :: libs $(TARGET_nlm)
# correct place. (See $(APR_WORK)/build/NWGNUhead.inc for examples)
#
install :: nlms $(INSTDIRS) FORCE
- copy $(TARGET_nlm) $(INSTALLBASE)\*.*
+ $(CP) $(subst /,\,$(APR)\$(TARGET_nlm)) $(INSTALLBASE)\*.*
ifndef DEST
- -copy $(subst /,\,$(APR))\STATUS $(INSTALLBASE)\*.apr
- -copy $(subst /,\,$(APR))\LICENSE $(INSTALLBASE)\*
- -copy $(subst /,\,$(APR))\CHANGES $(INSTALLBASE)\*.apr
- @-xcopy $(XCOPYSW) docs $(INSTALLBASE)\docs\*.*
+ -$(CP) $(subst /,\,$(APR))\STATUS $(INSTALLBASE)\*.apr
+ -$(CP) $(subst /,\,$(APR))\LICENSE $(INSTALLBASE)\*
+ -$(CP) $(subst /,\,$(APR))\CHANGES $(INSTALLBASE)\*.apr
+ @-$(XCP) $(subst /,\,$(APR))\docs $(INSTALLBASE)\docs\*.*
endif
ifndef DEST
installdev :: $(INSTDEVDIRS) FORCE
- copy $(subst /,\,$(APR))\include\*.h $(INSTALLBASE)\include\*.*
- copy $(subst /,\,$(APR))\*.imp $(INSTALLBASE)\lib\*.*
- copy $(subst /,\,$(APR))\misc\netware\*.xdc $(INSTALLBASE)\lib\*.*
- copy $(TARGET_lib) $(INSTALLBASE)\lib\*.*
- copy $(TARGET_nlm) $(INSTALLBASE)\bin\*.*
+ $(CP) $(subst /,\,$(APR))\include\*.h $(INSTALLBASE)\include\*.*
+ $(CP) $(subst /,\,$(APR))\*.imp $(INSTALLBASE)\lib\*.*
+ $(CP) $(subst /,\,$(APR))\misc\netware\*.xdc $(INSTALLBASE)\lib\*.*
+ $(CP) $(subst /,\,$(APR)\$(TARGET_lib)) $(INSTALLBASE)\lib\*.*
+ $(CP) $(subst /,\,$(APR)\$(TARGET_nlm)) $(INSTALLBASE)\bin\*.*
$(INSTDEVDIRS) ::
$(CHKNOT) $@\NUL mkdir $@
diff --git a/build/NWGNUenvironment.inc b/build/NWGNUenvironment.inc
index 27868258c..b1c2d896e 100644
--- a/build/NWGNUenvironment.inc
+++ b/build/NWGNUenvironment.inc
@@ -250,13 +250,13 @@ CMD = cmd /C
DEL = del /F
DELTREE = $(CMD) rd /s/q
WINNT = 1
-XCOPYSW = /E
else
CMD = command /C
DEL = del
DELTREE = deltree /y
-XCOPYSW = /E /Y
endif
+CP = copy /Y
+XCP = xcopy /E /Y
CHK = $(CMD) if exist
CHKNOT = $(CMD) if not exist
diff --git a/build/NWGNUmakefile b/build/NWGNUmakefile
index 4520584ce..38a84d04c 100644
--- a/build/NWGNUmakefile
+++ b/build/NWGNUmakefile
@@ -54,23 +54,23 @@ endif
$(APR)/include/%.h: $(APR)/include/%.hnw
@echo Creating $@
- copy $(subst /,\,$<) $(subst /,\,$@)
+ $(CP) $(subst /,\,$<) $(subst /,\,$@)
$(APR)/include/private/%.h: $(APR)/include/private/%.hnw
@echo Creating $@
- copy $(subst /,\,$<) $(subst /,\,$@)
+ $(CP) $(subst /,\,$<) $(subst /,\,$@)
$(APR)/include/private/%.h: $(APR)/include/private/%.hw
@echo Creating $@
- copy $(subst /,\,$<) $(subst /,\,$@)
+ $(CP) $(subst /,\,$<) $(subst /,\,$@)
$(APRXML)/%.h: $(APRXML)/%.hnw
@echo Creating $@
- copy $(subst /,\,$<) $(subst /,\,$@)
+ $(CP) $(subst /,\,$<) $(subst /,\,$@)
$(APRXML)/expat/lib/%.h: $(APRXML)/expat/lib/%.h.in
@echo Creating $@
- copy $(subst /,\,$<) $(subst /,\,$@)
+ $(CP) $(subst /,\,$<) $(subst /,\,$@)
#
# You can use this target if all that is needed is to copy files to the
diff --git a/dbd/NWGNUdbdfreetds b/dbd/NWGNUdbdfreetds
index 35f36bbe0..49bed63ee 100644
--- a/dbd/NWGNUdbdfreetds
+++ b/dbd/NWGNUdbdfreetds
@@ -176,7 +176,7 @@ XDCDATA =
# If there is an NLM target, put it here
#
TARGET_nlm = \
- $(OBJDIR)\$(NLM_NAME).nlm \
+ $(OBJDIR)/$(NLM_NAME).nlm \
$(EOLIST)
#
diff --git a/dbd/NWGNUdbdmysql b/dbd/NWGNUdbdmysql
index b5677e43e..e4396785e 100644
--- a/dbd/NWGNUdbdmysql
+++ b/dbd/NWGNUdbdmysql
@@ -177,7 +177,7 @@ XDCDATA =
# If there is an NLM target, put it here
#
TARGET_nlm = \
- $(OBJDIR)\$(NLM_NAME).nlm \
+ $(OBJDIR)/$(NLM_NAME).nlm \
$(EOLIST)
#
diff --git a/dbd/NWGNUdbdpgsql b/dbd/NWGNUdbdpgsql
index b1cbf2c51..455424fad 100644
--- a/dbd/NWGNUdbdpgsql
+++ b/dbd/NWGNUdbdpgsql
@@ -177,7 +177,7 @@ XDCDATA =
# If there is an NLM target, put it here
#
TARGET_nlm = \
- $(OBJDIR)\$(NLM_NAME).nlm \
+ $(OBJDIR)/$(NLM_NAME).nlm \
$(EOLIST)
#
diff --git a/dbd/NWGNUdbdsqli2 b/dbd/NWGNUdbdsqli2
index ef6766254..327754628 100644
--- a/dbd/NWGNUdbdsqli2
+++ b/dbd/NWGNUdbdsqli2
@@ -176,7 +176,7 @@ XDCDATA =
# If there is an NLM target, put it here
#
TARGET_nlm = \
- $(OBJDIR)\$(NLM_NAME).nlm \
+ $(OBJDIR)/$(NLM_NAME).nlm \
$(EOLIST)
#
diff --git a/dbd/NWGNUdbdsqli3 b/dbd/NWGNUdbdsqli3
index 1e3f1ce3c..021f73409 100644
--- a/dbd/NWGNUdbdsqli3
+++ b/dbd/NWGNUdbdsqli3
@@ -135,7 +135,7 @@ NLM_THREAD_NAME = dbdsqli3
#
# If this is specified, it will override VERSION value in
-# $(AP_WORK)\build\NWGNUenvironment.inc
+# $(APR_WORK)/build/NWGNUenvironment.inc
#
NLM_VERSION =
@@ -176,7 +176,7 @@ XDCDATA =
# If there is an NLM target, put it here
#
TARGET_nlm = \
- $(OBJDIR)\$(NLM_NAME).nlm \
+ $(OBJDIR)/$(NLM_NAME).nlm \
$(EOLIST)
#
@@ -277,7 +277,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 $(APR_WORK)/build/NWGNUhead.inc for examples)
#
install :: nlms FORCE
diff --git a/dbd/NWGNUmakefile b/dbd/NWGNUmakefile
index 0fe62ee0b..decde31ac 100644
--- a/dbd/NWGNUmakefile
+++ b/dbd/NWGNUmakefile
@@ -111,7 +111,7 @@ NLM_THREAD_NAME =
#
# If this is specified, it will override VERSION value in
-# $(AP_WORK)\build\NWGNUenvironment.inc
+# $(APR_WORK)/build/NWGNUenvironment.inc
#
NLM_VERSION =
@@ -241,10 +241,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 $(APR_WORK)/build/NWGNUhead.inc for examples)
#
install :: nlms $(INSTDIRS) FORCE
- copy $(OBJDIR)\*.nlm $(INSTALLBASE)
+ $(CP) $(OBJDIR)\*.nlm $(INSTALLBASE)
#
# Any specialized rules here
diff --git a/dbm/NWGNUdbmdb b/dbm/NWGNUdbmdb
index e60e108df..5c7d1c7a8 100644
--- a/dbm/NWGNUdbmdb
+++ b/dbm/NWGNUdbmdb
@@ -11,7 +11,7 @@ SUBDIRS = \
#
ifndef EnvironmentDefined
-include $(APR_WORK)\build\NWGNUhead.inc
+include $(APR_WORK)/build/NWGNUhead.inc
endif
#include $(APR)\build\NWGNUcustom.inc
@@ -138,7 +138,7 @@ NLM_THREAD_NAME = dbmdb
#
# If this is specified, it will override VERSION value in
-# $(AP_WORK)\build\NWGNUenvironment.inc
+# $(APR_WORK)/build/NWGNUenvironment.inc
#
NLM_VERSION =
@@ -278,7 +278,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 $(APR_WORK)/build/NWGNUhead.inc for examples)
#
install :: nlms FORCE
@@ -291,7 +291,7 @@ install :: nlms FORCE
# in this makefile
#
-include $(APR_WORK)\build\NWGNUtail.inc
+include $(APR_WORK)/build/NWGNUtail.inc
diff --git a/dbm/NWGNUdbmgdbm b/dbm/NWGNUdbmgdbm
index 048f6fc79..f32ebc451 100644
--- a/dbm/NWGNUdbmgdbm
+++ b/dbm/NWGNUdbmgdbm
@@ -11,7 +11,7 @@ SUBDIRS = \
#
ifndef EnvironmentDefined
-include $(APR_WORK)\build\NWGNUhead.inc
+include $(APR_WORK)/build/NWGNUhead.inc
endif
#include $(APR)\build\NWGNUcustom.inc
@@ -137,7 +137,7 @@ NLM_THREAD_NAME = dbmgdbm
#
# If this is specified, it will override VERSION value in
-# $(AP_WORK)\build\NWGNUenvironment.inc
+# $(APR_WORK)/build/NWGNUenvironment.inc
#
NLM_VERSION =
@@ -277,7 +277,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 $(APR_WORK)/build/NWGNUhead.inc for examples)
#
install :: nlms FORCE
@@ -290,7 +290,7 @@ install :: nlms FORCE
# in this makefile
#
-include $(APR_WORK)\build\NWGNUtail.inc
+include $(APR_WORK)/build/NWGNUtail.inc
diff --git a/dbm/NWGNUmakefile b/dbm/NWGNUmakefile
index e30372fa9..db36d5cf3 100644
--- a/dbm/NWGNUmakefile
+++ b/dbm/NWGNUmakefile
@@ -10,7 +10,7 @@ SUBDIRS = \
# paths to tools
#
-include $(APR_WORK)\build\NWGNUhead.inc
+include $(APR_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
+# $(APR_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 $(APR_WORK)/build/NWGNUhead.inc for examples)
#
install :: nlms $(INSTDIRS) FORCE
copy $(OBJDIR)\*.nlm $(INSTALLBASE)
@@ -246,6 +246,6 @@ install :: nlms $(INSTDIRS) FORCE
# in this makefile
#
-include $(APR_WORK)\build\NWGNUtail.inc
+include $(APR_WORK)/build/NWGNUtail.inc
diff --git a/ldap/NWGNUmakefile b/ldap/NWGNUmakefile
index 3663e06f3..83c5eff75 100644
--- a/ldap/NWGNUmakefile
+++ b/ldap/NWGNUmakefile
@@ -222,7 +222,7 @@ FILES_nlm_Ximports = \
#
FILES_nlm_exports = \
$(EOLIST)
-
+
#
# These are the OBJ files needed to create the LIB target above.
# Paths must all use the '/' character
diff --git a/test/NWGNUaprtest b/test/NWGNUaprtest
index 0c7f8c75c..6d14708da 100644
--- a/test/NWGNUaprtest
+++ b/test/NWGNUaprtest
@@ -8,7 +8,7 @@
#
ifndef EnvironmentDefined
-include $(APR_WORK)\build\NWGNUhead.inc
+include $(APR_WORK)/build/NWGNUhead.inc
endif
#
@@ -110,7 +110,7 @@ NLM_SCREEN_NAME = aprtest
#
# If this is specified, it will override VERSION value in
-# $(APR_WORK)\build\NWGNUenvironment.inc
+# $(APR_WORK)/build/NWGNUenvironment.inc
#
NLM_VERSION = 1,0,0
@@ -255,7 +255,7 @@ FILE_nlm_copyright =
#
FILES_nlm_Ximports = \
@libc.imp \
- @$(APR)/aprlib.imp \
+ @$(APR)/aprlib.imp \
$(EOLIST)
#
@@ -263,7 +263,7 @@ FILES_nlm_Ximports = \
#
FILES_nlm_exports = \
$(EOLIST)
-
+
#
# These are the OBJ files needed to create the LIB target above.
# Paths must all use the '/' character
@@ -281,7 +281,7 @@ nlms :: libs $(TARGET_nlm)
#
# Updated this target to create necessary directories and copy files to the
-# correct place. (See $(APR_WORK)\build\NWGNUhead.inc for examples)
+# correct place. (See $(APR_WORK)/build/NWGNUhead.inc for examples)
#
install :: nlms FORCE
@@ -295,6 +295,6 @@ install :: nlms FORCE
# in this makefile
#
-include $(APR_WORK)\build\NWGNUtail.inc
+include $(APR_WORK)/build/NWGNUtail.inc
diff --git a/test/NWGNUmakefile b/test/NWGNUmakefile
index d56f426c2..6ae60c75f 100644
--- a/test/NWGNUmakefile
+++ b/test/NWGNUmakefile
@@ -249,7 +249,7 @@ nlms :: libs $(TARGET_nlm)
# correct place. (See $(APR_WORK)\build\NWGNUhead.inc for examples)
#
install :: nlms FORCE
- copy $(OBJDIR)\*.nlm $(INSTALLBASE)
+ $(CP) $(OBJDIR)\*.nlm $(INSTALLBASE)
#
# Any specialized rules here
diff --git a/test/NWGNUproc_child b/test/NWGNUproc_child
index 49c1fab6f..c002c8e9a 100644
--- a/test/NWGNUproc_child
+++ b/test/NWGNUproc_child
@@ -220,7 +220,7 @@ FILES_nlm_Ximports = \
#
FILES_nlm_exports = \
$(EOLIST)
-
+
#
# These are the OBJ files needed to create the LIB target above.
# Paths must all use the '/' character
diff --git a/test/NWGNUreadchild b/test/NWGNUreadchild
index 0fd984da1..caabfca27 100644
--- a/test/NWGNUreadchild
+++ b/test/NWGNUreadchild
@@ -8,7 +8,7 @@
#
ifndef EnvironmentDefined
-include $(APR_WORK)\build\NWGNUhead.inc
+include $(APR_WORK)/build/NWGNUhead.inc
endif
#
@@ -54,7 +54,6 @@ XDEFINES += \
XLFLAGS += \
$(EOLIST)
-
endif
ifeq "$(RELEASE)" "noopt"
@@ -69,8 +68,6 @@ XDEFINES += \
XLFLAGS += \
$(EOLIST)
-
- $(EOLIST)
endif
ifeq "$(RELEASE)" "release"
@@ -92,13 +89,13 @@ endif
# This is used by the link 'name' directive to name the nlm. If left blank
# TARGET_nlm (see below) will be used.
#
-NLM_NAME = readchild
+NLM_NAME = readchild
#
# This is used by the link '-desc ' directive.
# If left blank, NLM_NAME will be used.
#
-NLM_DESCRIPTION = child NLM to test the pipe layer
+NLM_DESCRIPTION = child NLM to test the pipe layer
#
# This is used by the '-threadname' directive. If left blank,
@@ -114,9 +111,9 @@ NLM_SCREEN_NAME = DEFAULT
#
# If this is specified, it will override VERSION value in
-# $(APR_WORK)\build\NWGNUenvironment.inc
+# $(APR_WORK)/build/NWGNUenvironment.inc
#
-NLM_VERSION = 1,0,0
+NLM_VERSION =
#
# If this is specified, it will override the default of 64K
@@ -141,14 +138,14 @@ NLM_CHECK_SYM =
#
# If this is specified it will be used by the link '-flags' directive
#
-NLM_FLAGS = AUTOUNLOAD, PSEUDOPREEMPTION, MULTIPLE
+NLM_FLAGS = AUTOUNLOAD, PSEUDOPREEMPTION, MULTIPLE
#
# If this is specified it will be linked in with the XDCData option in the def
# file instead of the default of $(APR)/misc/netware/apache.xdc. XDCData can
# be disabled by setting APACHE_UNIPROC in the environment
#
-XDCDATA =
+XDCDATA =
#
# Declare all target files (you must add your files here)
@@ -220,7 +217,7 @@ FILES_nlm_Ximports = \
#
FILES_nlm_exports = \
$(EOLIST)
-
+
#
# These are the OBJ files needed to create the LIB target above.
# Paths must all use the '/' character
@@ -238,7 +235,7 @@ nlms :: libs $(TARGET_nlm)
#
# Updated this target to create necessary directories and copy files to the
-# correct place. (See $(APR_WORK)\build\NWGNUhead.inc for examples)
+# correct place. (See $(APR_WORK)/build/NWGNUhead.inc for examples)
#
install :: nlms FORCE
@@ -251,5 +248,5 @@ install :: nlms FORCE
# in this makefile
#
-include $(APR_WORK)\build\NWGNUtail.inc
+include $(APR_WORK)/build/NWGNUtail.inc
diff --git a/test/NWGNUsockchild b/test/NWGNUsockchild
index 16dac9e42..2e2049365 100644
--- a/test/NWGNUsockchild
+++ b/test/NWGNUsockchild
@@ -8,7 +8,7 @@
#
ifndef EnvironmentDefined
-include $(APR_WORK)\build\NWGNUhead.inc
+include $(APR_WORK)/build/NWGNUhead.inc
endif
#
@@ -54,7 +54,6 @@ XDEFINES += \
XLFLAGS += \
$(EOLIST)
-
endif
ifeq "$(RELEASE)" "noopt"
@@ -69,8 +68,6 @@ XDEFINES += \
XLFLAGS += \
$(EOLIST)
-
- $(EOLIST)
endif
ifeq "$(RELEASE)" "release"
@@ -92,13 +89,13 @@ endif
# This is used by the link 'name' directive to name the nlm. If left blank
# TARGET_nlm (see below) will be used.
#
-NLM_NAME = sockchild
+NLM_NAME = sockchild
#
# This is used by the link '-desc ' directive.
# If left blank, NLM_NAME will be used.
#
-NLM_DESCRIPTION = socket NLM to test sockets
+NLM_DESCRIPTION = socket NLM to test sockets
#
# This is used by the '-threadname' directive. If left blank,
@@ -114,9 +111,9 @@ NLM_SCREEN_NAME = DEFAULT
#
# If this is specified, it will override VERSION value in
-# $(APR_WORK)\build\NWGNUenvironment.inc
+# $(APR_WORK)/build/NWGNUenvironment.inc
#
-NLM_VERSION = 1,0,0
+NLM_VERSION =
#
# If this is specified, it will override the default of 64K
@@ -141,14 +138,14 @@ NLM_CHECK_SYM =
#
# If this is specified it will be used by the link '-flags' directive
#
-NLM_FLAGS = AUTOUNLOAD, PSEUDOPREEMPTION, MULTIPLE
+NLM_FLAGS = AUTOUNLOAD, PSEUDOPREEMPTION, MULTIPLE
#
# If this is specified it will be linked in with the XDCData option in the def
# file instead of the default of $(APR)/misc/netware/apache.xdc. XDCData can
# be disabled by setting APACHE_UNIPROC in the environment
#
-XDCDATA =
+XDCDATA =
#
# Declare all target files (you must add your files here)
@@ -220,7 +217,7 @@ FILES_nlm_Ximports = \
#
FILES_nlm_exports = \
$(EOLIST)
-
+
#
# These are the OBJ files needed to create the LIB target above.
# Paths must all use the '/' character
@@ -238,7 +235,7 @@ nlms :: libs $(TARGET_nlm)
#
# Updated this target to create necessary directories and copy files to the
-# correct place. (See $(APR_WORK)\build\NWGNUhead.inc for examples)
+# correct place. (See $(APR_WORK)/build/NWGNUhead.inc for examples)
#
install :: nlms FORCE
@@ -251,5 +248,5 @@ install :: nlms FORCE
# in this makefile
#
-include $(APR_WORK)\build\NWGNUtail.inc
+include $(APR_WORK)/build/NWGNUtail.inc
diff --git a/test/NWGNUtestatmc b/test/NWGNUtestatmc
index dbbe4250b..d8637ce68 100644
--- a/test/NWGNUtestatmc
+++ b/test/NWGNUtestatmc
@@ -8,7 +8,7 @@
#
ifndef EnvironmentDefined
-include $(APR_WORK)\build\NWGNUhead.inc
+include $(APR_WORK)/build/NWGNUhead.inc
endif
#
@@ -89,12 +89,12 @@ endif
# This is used by the link 'name' directive to name the nlm. If left blank
# TARGET_nlm (see below) will be used.
#
-NLM_NAME =testatmc
+NLM_NAME = testatmc
#
# This is used by the link '-desc ' directive.
# If left blank, NLM_NAME will be used.
#
-NLM_DESCRIPTION = NLM is to test the atomic functions
+NLM_DESCRIPTION = NLM is to test the atomic functions
#
# This is used by the '-threadname' directive. If left blank,
@@ -110,9 +110,9 @@ NLM_SCREEN_NAME = testatmc
#
# If this is specified, it will override VERSION value in
-# $(APR_WORK)\build\NWGNUenvironment.inc
+# $(APR_WORK)/build/NWGNUenvironment.inc
#
-NLM_VERSION = 1,0,0
+NLM_VERSION =
#
# If this is specified, it will override the default of 64K
@@ -137,14 +137,14 @@ NLM_CHECK_SYM =
#
# If this is specified it will be used by the link '-flags' directive
#
-NLM_FLAGS = AUTOUNLOAD, PSEUDOPREEMPTION
+NLM_FLAGS = AUTOUNLOAD, PSEUDOPREEMPTION
#
# If this is specified it will be linked in with the XDCData option in the def
# file instead of the default of $(APR)/misc/netware/apache.xdc. XDCData can
# be disabled by setting APACHE_UNIPROC in the environment
#
-XDCDATA =
+XDCDATA =
#
# Declare all target files (you must add your files here)
@@ -173,7 +173,7 @@ FILES_nlm_objs = \
$(EOLIST)
# Pending tests
-
+
#
# These are the LIB files needed to create the NLM target above.
# These will be added as a library command in the link.opt file.
@@ -219,7 +219,7 @@ FILES_nlm_Ximports = \
#
FILES_nlm_exports = \
$(EOLIST)
-
+
#
# These are the OBJ files needed to create the LIB target above.
# Paths must all use the '/' character
@@ -237,7 +237,7 @@ nlms :: libs $(TARGET_nlm)
#
# Updated this target to create necessary directories and copy files to the
-# correct place. (See $(APR_WORK)\build\NWGNUhead.inc for examples)
+# correct place. (See $(APR_WORK)/build/NWGNUhead.inc for examples)
#
install :: nlms FORCE
@@ -251,5 +251,5 @@ install :: nlms FORCE
# in this makefile
#
-include $(APR_WORK)\build\NWGNUtail.inc
+include $(APR_WORK)/build/NWGNUtail.inc
diff --git a/test/NWGNUtryread b/test/NWGNUtryread
index cc4aee020..9eb0f4f40 100644
--- a/test/NWGNUtryread
+++ b/test/NWGNUtryread
@@ -8,7 +8,7 @@
#
ifndef EnvironmentDefined
-include $(APR_WORK)\build\NWGNUhead.inc
+include $(APR_WORK)/build/NWGNUhead.inc
endif
#
@@ -54,7 +54,6 @@ XDEFINES += \
XLFLAGS += \
$(EOLIST)
-
endif
ifeq "$(RELEASE)" "noopt"
@@ -69,8 +68,6 @@ XDEFINES += \
XLFLAGS += \
$(EOLIST)
-
- $(EOLIST)
endif
ifeq "$(RELEASE)" "release"
@@ -92,13 +89,13 @@ endif
# This is used by the link 'name' directive to name the nlm. If left blank
# TARGET_nlm (see below) will be used.
#
-NLM_NAME = tryread
+NLM_NAME = tryread
#
# This is used by the link '-desc ' directive.
# If left blank, NLM_NAME will be used.
#
-NLM_DESCRIPTION = reader NLM to test flock
+NLM_DESCRIPTION = reader NLM to test flock
#
# This is used by the '-threadname' directive. If left blank,
@@ -114,9 +111,9 @@ NLM_SCREEN_NAME = DEFAULT
#
# If this is specified, it will override VERSION value in
-# $(APR_WORK)\build\NWGNUenvironment.inc
+# $(APR_WORK)/build/NWGNUenvironment.inc
#
-NLM_VERSION = 1,0,0
+NLM_VERSION =
#
# If this is specified, it will override the default of 64K
@@ -141,14 +138,14 @@ NLM_CHECK_SYM =
#
# If this is specified it will be used by the link '-flags' directive
#
-NLM_FLAGS = AUTOUNLOAD, PSEUDOPREEMPTION, MULTIPLE
+NLM_FLAGS = AUTOUNLOAD, PSEUDOPREEMPTION, MULTIPLE
#
# If this is specified it will be linked in with the XDCData option in the def
# file instead of the default of $(APR)/misc/netware/apache.xdc. XDCData can
# be disabled by setting APACHE_UNIPROC in the environment
#
-XDCDATA =
+XDCDATA =
#
# Declare all target files (you must add your files here)
@@ -220,7 +217,7 @@ FILES_nlm_Ximports = \
#
FILES_nlm_exports = \
$(EOLIST)
-
+
#
# These are the OBJ files needed to create the LIB target above.
# Paths must all use the '/' character
@@ -238,7 +235,7 @@ nlms :: libs $(TARGET_nlm)
#
# Updated this target to create necessary directories and copy files to the
-# correct place. (See $(APR_WORK)\build\NWGNUhead.inc for examples)
+# correct place. (See $(APR_WORK)/build/NWGNUhead.inc for examples)
#
install :: nlms FORCE
@@ -251,5 +248,5 @@ install :: nlms FORCE
# in this makefile
#
-include $(APR_WORK)\build\NWGNUtail.inc
+include $(APR_WORK)/build/NWGNUtail.inc