summaryrefslogtreecommitdiff
path: root/NWGNUmakefile
diff options
context:
space:
mode:
authorGuenter Knauf <fuankg@apache.org>2009-06-28 18:30:34 +0000
committerGuenter Knauf <fuankg@apache.org>2009-06-28 18:30:34 +0000
commite5186a399d556c9fd91ef01ccfddeb471d75fe71 (patch)
tree23022db9da1e1da61ece0b5147e9c468d123e752 /NWGNUmakefile
parent867ff2e049c3e42fecc67f91944ba708670efd5e (diff)
downloadapr-e5186a399d556c9fd91ef01ccfddeb471d75fe71.tar.gz
more NetWare build tweaks.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@789137 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'NWGNUmakefile')
-rw-r--r--NWGNUmakefile21
1 files changed, 10 insertions, 11 deletions
diff --git a/NWGNUmakefile b/NWGNUmakefile
index 45c794a16..963330608 100644
--- a/NWGNUmakefile
+++ b/NWGNUmakefile
@@ -20,7 +20,7 @@ endif
# paths to tools
#
-include $(APR_WORK)\build\NWGNUhead.inc
+include $(APR_WORK)/build/NWGNUhead.inc
#
# build this level's files
@@ -35,9 +35,9 @@ include $(APR_WORK)\build\NWGNUhead.inc
#
XINCDIRS += \
$(APR)/include \
+ $(APR)/include/private \
$(APR)/include/arch/NetWare \
$(APR)/include/arch/unix \
- $(APR)/include/private \
$(APR)/dbm/sdbm \
$(APR)/uri \
$(APR)/memory/unix \
@@ -129,7 +129,7 @@ NLM_DESCRIPTION = Apache Portability Runtime Library $(VERSION_STR) $(VERSION_SK
NLM_THREAD_NAME =
#
# If this is specified, it will override VERSION value in
-# $(APR_WORK)\build\NWGNUenvironment.inc
+# $(APR_WORK)/build/NWGNUenvironment.inc
#
NLM_VERSION =
@@ -381,7 +381,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 $(INSTDIRS) FORCE
copy $(TARGET_nlm) $(INSTALLBASE)\*.*
@@ -415,21 +415,20 @@ vpath %.c dso/netware:memory/unix:mmap/unix:user/netware:util-misc
vpath %.c crypto:dbd:dbm:dbm/sdbm:encoding:hooks:ldap:memcache:misc:strmatch:uri:xlate
# Use the win32 network_io if Winsock is being used
-ifdef USE_STDSOCKETS
-vpath %.c network_io/unix
-else
-vpath %.c network_io/win32:network_io/unix
+ifndef USE_STDSOCKETS
+vpath %.c network_io/win32
endif
+vpath %.c network_io/unix
-$(OBJDIR)/%.o: file_io/netware/%.c $(OBJDIR)\$(NLM_NAME)_cc.opt
+$(OBJDIR)/%.o: file_io/netware/%.c $(OBJDIR)/$(NLM_NAME)_cc.opt
@echo Compiling $<
- $(CC) file_io\netware\$(<F) -cwd source -o=$(OBJDIR)\$(@F) @$(OBJDIR)\$(NLM_NAME)_cc.opt
+ $(CC) -cwd source -o $@ $< @$(OBJDIR)/$(NLM_NAME)_cc.opt
#
# Include the 'tail' makefile that has targets that depend on variables defined
# in this makefile
#
-include $(APR_WORK)\build\NWGNUtail.inc
+include $(APR_WORK)/build/NWGNUtail.inc