summaryrefslogtreecommitdiff
path: root/xsd/dist/examples/cxx/tree/custom/mixed/makefile
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2014-07-23 15:25:44 +0200
committerJörg Frings-Fürst <debian@jff-webhosting.net>2014-07-23 15:25:44 +0200
commit8286ac511144e4f17d34eac9affb97e50646344a (patch)
treef1af7320d7b6be6be059216d0ad08ac7b4f73fd0 /xsd/dist/examples/cxx/tree/custom/mixed/makefile
parenta15cf65c44d5c224169c32ef5495b68c758134b7 (diff)
Imported Upstream version 4.0.0upstream/4.0.0
Diffstat (limited to 'xsd/dist/examples/cxx/tree/custom/mixed/makefile')
-rw-r--r--xsd/dist/examples/cxx/tree/custom/mixed/makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/xsd/dist/examples/cxx/tree/custom/mixed/makefile b/xsd/dist/examples/cxx/tree/custom/mixed/makefile
index a5ea87e..c5dac63 100644
--- a/xsd/dist/examples/cxx/tree/custom/mixed/makefile
+++ b/xsd/dist/examples/cxx/tree/custom/mixed/makefile
@@ -5,7 +5,14 @@ include $(root)/build/xsd/tree-rules.make
override XSDFLAGS += --generate-inline --generate-serialization \
---custom-type bio=/bio_base --hxx-epilogue '\#include "people-custom.hxx"'
+--hxx-epilogue '\#include "people-custom.hxx"'
+
+ifneq ($(shell uname -o),Msys)
+override XSDFLAGS += --custom-type bio=/bio_base
+else
+# Prevent MSYS from converting / to Windows path.
+override XSDFLAGS += --custom-type bio=//bio_base
+endif
# Build.