summaryrefslogtreecommitdiff
path: root/xml/NWGNUmakefile
diff options
context:
space:
mode:
authorGuenter Knauf <fuankg@apache.org>2011-03-21 16:01:38 +0000
committerGuenter Knauf <fuankg@apache.org>2011-03-21 16:01:38 +0000
commit3b375245cbad2c9d7f0e914feea25d11edea0335 (patch)
tree49bd0d16351d1e477158ced2da9725b8a8aa355f /xml/NWGNUmakefile
parent097a83e0ca33e63160446a09a721fdc16bb800d5 (diff)
downloadapr-3b375245cbad2c9d7f0e914feea25d11edea0335.tar.gz
Removed expat_config.hnw because wrowe doesnt like it.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1083852 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'xml/NWGNUmakefile')
-rw-r--r--xml/NWGNUmakefile15
1 files changed, 13 insertions, 2 deletions
diff --git a/xml/NWGNUmakefile b/xml/NWGNUmakefile
index 20c419dcf..dbbd74cc5 100644
--- a/xml/NWGNUmakefile
+++ b/xml/NWGNUmakefile
@@ -39,9 +39,20 @@ $(EXPATSRC)/lib/%.h: $(EXPATSRC)/lib/%.h.in
@echo Creating $@
$(call COPY,$<,$@)
-$(EXPATSRC)/lib/%.h: $(CURDIR)/%.hnw
+$(EXPATSRC)/lib/expat_config.h:
@echo Creating $@
- $(call COPY,$<,$@)
+ @echo $(DL)/* $(notdir $@) for NetWare platform */$(DL)>>$@
+ @echo $(DL)#ifndef NETWARE$(DL)>>$@
+ @echo $(DL)#error This $(notdir $@) is for NetWare platform!$(DL)>>$@
+ @echo $(DL)#endif$(DL)>>$@
+ @echo $(DL)#ifndef EXPAT_CONFIG_H$(DL)>>$@
+ @echo $(DL)#define EXPAT_CONFIG_H$(DL)>>$@
+ @echo $(DL)#define HAVE_MEMMOVE 1$(DL)>>$@
+ @echo $(DL)#define XML_NS 1$(DL)>>$@
+ @echo $(DL)#define XML_DTD 1$(DL)>>$@
+ @echo $(DL)#define XML_BYTE_ORDER 1234$(DL)>>$@
+ @echo $(DL)#define XML_CONTEXT_BYTES 1024$(DL)>>$@
+ @echo $(DL)#endif /* EXPAT_CONFIG_H */$(DL)>>$@
vpath %.c $(EXPATSRC)/lib