summaryrefslogtreecommitdiff
path: root/xml/NWGNUmakefile
diff options
context:
space:
mode:
authorGuenter Knauf <fuankg@apache.org>2011-03-04 01:19:29 +0000
committerGuenter Knauf <fuankg@apache.org>2011-03-04 01:19:29 +0000
commitc16c739cb3b93b193e0e0763480ddf0c4c3b2e88 (patch)
tree22959e8de91441a74f7acad20fb598d37d591030 /xml/NWGNUmakefile
parent7bcd12b29d916fe124c8dd084fd6337b56903f9b (diff)
downloadapr-c16c739cb3b93b193e0e0763480ddf0c4c3b2e88.tar.gz
NetWare build overhaul in order to compile on Linux.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1076916 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'xml/NWGNUmakefile')
-rw-r--r--xml/NWGNUmakefile12
1 files changed, 12 insertions, 0 deletions
diff --git a/xml/NWGNUmakefile b/xml/NWGNUmakefile
index 4cdf300cd..d4e5c61d4 100644
--- a/xml/NWGNUmakefile
+++ b/xml/NWGNUmakefile
@@ -33,15 +33,27 @@ endif
$(EXPATSRC)/lib/%.h: $(EXPATSRC)/lib/%.hnw
@echo Creating $@
+ifeq "$(OSTYPE)" "linux"
+ $(CP) $< $@
+else
$(CP) $(subst /,\,$<) $(subst /,\,$@)
+endif
$(EXPATSRC)/lib/%.h: $(EXPATSRC)/lib/%.h.in
@echo Creating $@
+ifeq "$(OSTYPE)" "linux"
+ $(CP) $< $@
+else
$(CP) $(subst /,\,$<) $(subst /,\,$@)
+endif
$(EXPATSRC)/lib/%.h: $(CURDIR)/%.hnw
@echo Creating $@
+ifeq "$(OSTYPE)" "linux"
+ $(CP) $< $@
+else
$(CP) $(subst /,\,$<) $(subst /,\,$@)
+endif
vpath %.c $(EXPATSRC)/lib